Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove files from chemistry utilities causing problems on MAC and WINDOWS systems. #171

Merged
merged 6 commits into from
May 7, 2022

Conversation

bhutzell
Copy link
Contributor

@bhutzell bhutzell commented May 4, 2022

Contact:
Bill Hutzell/USEPA at hutzell.bill@epa.gov

Type of code change:
bug fix

Description of changes:
Both the create_ebi and inline_phot_prerproc utilities have files in their source code directories that only differ in letter case in filenames such as UTIL/create_ebi/junit.F and UTIL/create_ebi/junit.f. The property does not cause problems on Linux systems but can cause problems on Window and Macintosh systems. The problem is easily removed because either, only one file is needed or neither file is needed to build these chemistry utilities. The pull request removes the unneeded files causing the problems and updates the makefile for the create_ebi utility. It also removes two unneeded files under UTIL/inline_phot_preproc/src while makes minor changes to build-run scripts for create_ebi and inline_phot_preproc.

Issue:
CMAQ public repository Issue #169

Summary of Impact:
None, but allows to more efficiently use the CMAQ repository and its utilities on Windows and Macintosh operating systems.

Tests conducted:

  1. On two different Linux systems, tests successfully compiled and executed create_ebi and inline_photo_preproc.
  2. On windows, using git for windows determined the pull request's changes to remove problems dealing filenames as the inability to change branches or incorrectly tracking file changes.

bhutzell and others added 6 commits April 19, 2022 14:52
 	deleted:    UTIL/create_ebi/src_RXNSU/junit.f
 	deleted:    UTIL/inline_phot_preproc/src/CSQY_DATA.F
 	deleted:    UTIL/inline_phot_preproc/src/CSQY_DATA.f
 	deleted:    UTIL/inline_phot_preproc/src/CSQY_DATA_gen.f
 	deleted:    UTIL/inline_phot_preproc/src/CSQY_DATA_old.f
	remove case dependendent file names or unneeded files
minor edit
        -changed junit.o to depend on junit.F
	modified:   UTIL/create_ebi/scripts/bldrun_create_ebi.csh
        -changed path account for build-run script is in scripts subdirectory
        -change comment line on assumed path
 	modified:   UTIL/inline_phot_preproc/bldrun.inline_phot_preproc.csh
        -changed setting of CMAQ repository to relative path
@bhutzell bhutzell marked this pull request as draft May 4, 2022 20:46
@bhutzell bhutzell marked this pull request as ready for review May 4, 2022 20:47
@bhutzell bhutzell changed the title Update v5333plus Remove files from chemistry utilities causing problems on MAC and WINDOWS systems. May 4, 2022
@kmfoley kmfoley merged commit ad7374d into USEPA:5.3.3+ May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants