-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fixes for issues #129, #135 #140
Conversation
{ | ||
$attrMatch = 1; | ||
next; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we remove the block above? If we enter that block, $attrMatch
will always be 1
, so we shouldn't need to change it. Also, if the conditional above succeeds, then the one below will fail and we will just move on to the next iteration, so we shouldn't need a next
, unless I'm missing something.
Have you tested this fix for #135 on yellowstone, and checked that threaded runs really are using MP_PE_AFFINITY= MP_TASK_AFFINITY= MP_CPU_BIND_LIST= mpirun.lsf $ENV{'CESMDATAROOT'}/tools/bin/hybrid_launch However, when I tried that, it seemed to be broken, because we actually want to guarantee that those variables are unset, not that they are set to the null string. I think the line should be one of these instead: unset MP_PE_AFFINITY; unset MP_TASK_AFFINITY; unset MP_CPU_BIND_LIST; mpirun.lsf $ENV{'CESMDATAROOT'}/tools/bin/hybrid_launch
# Or this may be better:
unset MP_PE_AFFINITY && unset MP_TASK_AFFINITY && unset MP_CPU_BIND_LIST && mpirun.lsf $ENV{'CESMDATAROOT'}/tools/bin/hybrid_launch Aside from this line being wrong, and the weird (unnecessary?) block I already commented on, it looks to me like this will work. |
Re #135, I did figure out that this does not work: 'MP_PE_AFFINITY= MP_TASK_AFFINITY= MP_CPU_BIND_LIST=' doesn't work. I actually implemented your first suggestion just as you said: |
Oh yeah, you're right, that change is right here in this PR. I don't know why I didn't see it... |
The spurious for loop has been removed... |
Update ACMEs cime to cime 2.1.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development#140 Update pio2 cmake build CESM-Development#137 cime unit tests now work when dot is not in path CESM-Development#141 update summarize_cprn_diffs to work with new scripts CESM-Development#131 Change cesm_setup to get list of models from env_run CESM-Development#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development#120 Move lnd <-> glc coupling into coupler CESM-Development#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development#138 Increase compatability with pio2 build system. CESM-Development#137 Use more general location for pfUnit CESM-Development#134 Replace large array in shr_expr_parser_mod CESM-Development#130 Fix (unused) dynamic_vector allocation CESM-Development#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development#123 Add cray compiler on edison CESM-Development#120 Fix mpi_unit_tests on yellowstone CESM-Development#87 Update hobart pelayouts CESM-Development#62 Allow fire emission fluxes CESM-Development#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.0.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development#140 Update pio2 cmake build CESM-Development#137 cime unit tests now work when dot is not in path CESM-Development#141 update summarize_cprn_diffs to work with new scripts CESM-Development#131 Change cesm_setup to get list of models from env_run CESM-Development#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development#120 Move lnd <-> glc coupling into coupler CESM-Development#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development#138 Increase compatability with pio2 build system. CESM-Development#137 Use more general location for pfUnit CESM-Development#134 Replace large array in shr_expr_parser_mod CESM-Development#130 Fix (unused) dynamic_vector allocation CESM-Development#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development#123 Add cray compiler on edison CESM-Development#120 Fix mpi_unit_tests on yellowstone CESM-Development#87 Update hobart pelayouts CESM-Development#62 Allow fire emission fluxes CESM-Development#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.1.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.0.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.1.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.0.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.1.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
Update ACMEs cime to cime 2.0.12 conflicts resolved: use our version of config_compsets.xml Needed or useful for ACME: BatchMaker.pm: more robust mpirun selection, don't ignore -project, CESM-Development/cime#140 Update pio2 cmake build CESM-Development/cime#137 cime unit tests now work when dot is not in path CESM-Development/cime#141 update summarize_cprn_diffs to work with new scripts CESM-Development/cime#131 Change cesm_setup to get list of models from env_run CESM-Development/cime#133 Fix uninitialized value bug in create_test Various build fixes CESM-Development/cime#120 Move lnd <-> glc coupling into coupler CESM-Development/cime#106 Update batch configuration for edison Fix finding component history files for baseline gen,comp CESM-Development/cime#86 Change shr_flux_mods to support CAM aquaplanet CESM-Development/cime#64 Improve cesm_clean and add compiler options helpful for pop/cice CESM-Development/cime#63 and 88 Fix Batch* to allow machines that don't allow direct queue submissions and output the qsub command. configure uses -cimeroot even with -list CESM-Development/cime#55 Have preview_namelists load modules for chemistry preprocessor. Fix minor compiler complaints for NAG. Add environment variable CIME_MODULES_LOADED to prevent module evnironment being loaded more than once Update dirunal shr_flux code and diurnal ocean feature in docn. Don't hardwire 30 minute coupling period. No impact (yet) on ACME: Workaround for bug in cism-test_coupling cases. CESM-Development/cime#138 Increase compatability with pio2 build system. CESM-Development/cime#137 Use more general location for pfUnit CESM-Development/cime#134 Replace large array in shr_expr_parser_mod CESM-Development/cime#130 Fix (unused) dynamic_vector allocation CESM-Development/cime#125 Add -qfloat=nomaf for mira/cetus Update hobart and edison/cray compiles. Read in namelists for new modules on task 0 only CESM-Development/cime#123 Add cray compiler on edison CESM-Development/cime#120 Fix mpi_unit_tests on yellowstone CESM-Development/cime#87 Update hobart pelayouts CESM-Development/cime#62 Allow fire emission fluxes CESM-Development/cime#61 Update ExpectedTestFails.xml Fix hobart path for cprnc
This pull request contains fixes for cime issues #129, #135.