Skip to content

Commit

Permalink
Merge branch 'lcrc/machines/bebop-modules' (PR #1733)
Browse files Browse the repository at this point in the history
This PR includes some changes to bebop configuration
to get acme_developer and acme_integration (except 3) to
run successfully

[BFB]

* lcrc/machines/bebop-modules:
  Custom PE layouts for MPAS tests on bebop
  Use NETCDF_FORTRAN_PATH in HOMME builds on Bebop
  Adding a custom PE layout for bebop
  Switch to lower pnetcdf version
  Enable mpi-serial runs
  • Loading branch information
jayeshkrishna committed Aug 21, 2017
2 parents f7c7cd6 + 2fbc221 commit ed52ea1
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
39 changes: 38 additions & 1 deletion config/acme/allactive/config_pesall.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5973,7 +5973,7 @@
</mach>
</grid>
<grid name="any">
<mach name="blues">
<mach name="blues|bebop">
<pes compset="CAM5.+CLM45.+MPASCICE.+MPASO.+MOSART.+SGLC.+SWAV" pesize="any">
<comment>none</comment>
<ntasks>
Expand Down Expand Up @@ -6009,6 +6009,43 @@
</pes>
</mach>
</grid>
<grid name="a%T62_l%T62_oi%oQU120_r%rx1.+">
<mach name="bebop">
<pes compset=".*MPAS.*" pesize="any">
<comment>T62_oQU120 grid for MPAS tests on 1024 nodes pure-MPI</comment>
<ntasks>
<ntasks_atm>1024</ntasks_atm>
<ntasks_lnd>1024</ntasks_lnd>
<ntasks_rof>1024</ntasks_rof>
<ntasks_ice>1024</ntasks_ice>
<ntasks_ocn>1024</ntasks_ocn>
<ntasks_glc>1024</ntasks_glc>
<ntasks_wav>1024</ntasks_wav>
<ntasks_cpl>1024</ntasks_cpl>
</ntasks>
<nthrds>
<nthrds_atm>1</nthrds_atm>
<nthrds_lnd>1</nthrds_lnd>
<nthrds_rof>1</nthrds_rof>
<nthrds_ice>1</nthrds_ice>
<nthrds_ocn>1</nthrds_ocn>
<nthrds_glc>1</nthrds_glc>
<nthrds_wav>1</nthrds_wav>
<nthrds_cpl>1</nthrds_cpl>
</nthrds>
<rootpe>
<rootpe_atm>0</rootpe_atm>
<rootpe_lnd>0</rootpe_lnd>
<rootpe_rof>0</rootpe_rof>
<rootpe_ice>0</rootpe_ice>
<rootpe_ocn>0</rootpe_ocn>
<rootpe_glc>0</rootpe_glc>
<rootpe_wav>0</rootpe_wav>
<rootpe_cpl>0</rootpe_cpl>
</rootpe>
</pes>
</mach>
</grid>
<grid name="a%ne120np4_l%ne120np4_oi%oRRS15to5_r%r0.+_m%oRRS15to5_g%null_w%null">
<mach name="titan|edison|cori-haswell">
<pes compset="CAM5.+CLM45.+MPASCICE.+MPASO.+MOSART.+SGLC.+SWAV" pesize="any">
Expand Down
2 changes: 1 addition & 1 deletion config/acme/machines/config_compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ for mct, etc.
<ADD_FFLAGS compile_threaded="true"> -qopenmp </ADD_FFLAGS>
<ADD_FFLAGS_NOOPT compile_threaded="true"> -qopenmp </ADD_FFLAGS_NOOPT>
<ADD_LDFLAGS compile_threaded="true"> -qopenmp </ADD_LDFLAGS>
<ADD_SLIBS> $(shell $(NETCDF_PATH)/bin/nf-config --flibs) -mkl</ADD_SLIBS>
<ADD_SLIBS> $(shell nf-config --flibs) -mkl</ADD_SLIBS>
<GPTL_CPPDEFS> -DHAVE_SLASHPROC </GPTL_CPPDEFS>
<MPIFC> mpiifort </MPIFC>
<MPICC> mpiicc </MPICC>
Expand Down
8 changes: 6 additions & 2 deletions config/acme/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1157,6 +1157,9 @@
<arg name="num_tasks" > -n $TOTALPES</arg>
</arguments>
</mpirun>
<mpirun mpilib="mpi-serial">
<executable></executable>
</mpirun>
<module_system type="module">
<init_path lang="sh">/home/software/spack-0.10.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lmod-7.4.9-ic63herzfgw5u3na5mdtvp3nwxy6oj2z/lmod/lmod/init/sh</init_path>
<init_path lang="csh">/home/software/spack-0.10.1/opt/spack/linux-centos7-x86_64/gcc-4.8.5/lmod-7.4.9-ic63herzfgw5u3na5mdtvp3nwxy6oj2z/lmod/lmod/init/csh</init_path>
Expand All @@ -1183,11 +1186,12 @@
<command name="load">cmake</command>
<command name="load">netcdf/4.4.1.1-prsuusl</command>
<command name="load">netcdf-fortran/4.4.4-ojwazvy</command>
<command name="load">parallel-netcdf/1.8.1</command>
<command name="load" mpilib="!mpi-serial">parallel-netcdf/1.6.1</command>
</modules>
</module_system>
<environment_variables>
<env name="NETCDF_PATH">$SHELL{which nf-config | xargs dirname | xargs dirname}</env>
<env name="NETCDF_C_PATH">$SHELL{which nc-config | xargs dirname | xargs dirname}</env>
<env name="NETCDF_FORTRAN_PATH">$SHELL{which nf-config | xargs dirname | xargs dirname}</env>
<env name="PNETCDF_PATH" mpilib="!mpi-serial">$SHELL{which pnetcdf_version | xargs dirname | xargs dirname}</env>
<env name="PATH">/lcrc/group/acme/soft/perl/5.26.0/bin:$ENV{PATH}</env>
</environment_variables>
Expand Down

0 comments on commit ed52ea1

Please sign in to comment.