Skip to content

Commit

Permalink
Merge branch 'azamat/mira/add-cpribm-macro' (PR #1277)
Browse files Browse the repository at this point in the history
Add IBM compiler macro
Also add a flag to report compile times.
And keep Mira/Cetus settings identical.

[BFB] - Bit-For-Bit
  • Loading branch information
amametjanov committed Feb 21, 2017
2 parents e35fbae + 6c569f1 commit 24b8663
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions cime_config/acme/machines/config_compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ for mct, etc.
-C => runtime array bounds checking (runs slow)
-qinitauto=... => initializes automatic variables
-->
<ADD_CPPDEFS> -DFORTRAN_SAME </ADD_CPPDEFS>
<ADD_CPPDEFS> -DFORTRAN_SAME -DCPRIBM</ADD_CPPDEFS>
<CPRE>-WF,-D</CPRE>
<CFLAGS> -g -qfullpath -qmaxmem=-1 </CFLAGS>
<CFLAGS> -g -qfullpath -qmaxmem=-1 -qphsinfo </CFLAGS>
<FIXEDFLAGS> -qsuffix=f=f -qfixed=132 </FIXEDFLAGS>
<FREEFLAGS> -qsuffix=f=f90:cpp=F90 </FREEFLAGS>
<FFLAGS> -g -qfullpath -qmaxmem=-1 </FFLAGS>
<FFLAGS> -g -qfullpath -qmaxmem=-1 -qphsinfo </FFLAGS>
<FC_AUTO_R8> -qrealsize=8 </FC_AUTO_R8>
<ADD_FFLAGS DEBUG="FALSE"> -O2 -qstrict -Q </ADD_FFLAGS>
<ADD_CFLAGS DEBUG="FALSE"> -O3 </ADD_CFLAGS>
Expand Down Expand Up @@ -893,7 +893,7 @@ for mct, etc.


<compiler COMPILER="ibm" OS="BGQ">
<FFLAGS> -g -qfullpath -qmaxmem=-1 -qspillsize=2500 -qextname=flush </FFLAGS>
<FFLAGS> -g -qfullpath -qmaxmem=-1 -qspillsize=2500 -qextname=flush -qphsinfo </FFLAGS>
<ADD_FFLAGS DEBUG="FALSE"> -O3 -qstrict -Q </ADD_FFLAGS>
<ADD_CPPDEFS> -DLINUX </ADD_CPPDEFS>
<CONFIG_ARGS> --build=powerpc-bgp-linux --host=powerpc64-suse-linux </CONFIG_ARGS>
Expand Down
6 changes: 4 additions & 2 deletions cime_config/acme/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@
</modules>

<modules>
<command name="load">git</command>
<command name="load">cmake/3.3.2</command>
<command name="load">pmi/5.0.10-1.0000.11050.0.0.ari</command>
<command name="load">papi/5.4.3.2</command>
Expand Down Expand Up @@ -424,6 +425,7 @@
<command name="load">cray-parallel-netcdf/1.7.0</command>
</modules>
<modules>
<command name="load">git</command>
<command name="load">cmake/3.3.2</command>
<command name="load">pmi/5.0.10-1.0000.11050.0.0.ari</command>
<command name="load">papi/5.4.3.2</command>
Expand Down Expand Up @@ -1034,7 +1036,7 @@
<PROJECT>HiRes_EarthSys_2</PROJECT>
<PIO_CONFIG_OPTS> -D PIO_BUILD_TIMING:BOOL=ON </PIO_CONFIG_OPTS>
<mpirun mpilib="default">
<executable>runjob</executable>
<executable>/usr/bin/runjob</executable>
<arguments>
<arg name="label"> --label short</arg>
<!-- Ranks per node!! -->
Expand All @@ -1061,7 +1063,7 @@
</modules>
</module_system>
<environment_variables>
<env name="MPI_TYPE_MAX">100000</env>
<env name="MPI_TYPE_MAX">10000</env>
<env name="OMP_DYNAMIC">FALSE</env>
<env name="OMP_STACKSIZE">64M</env>
</environment_variables>
Expand Down

0 comments on commit 24b8663

Please sign in to comment.