Skip to content

Commit

Permalink
PGI works now and gnu builds fine
Browse files Browse the repository at this point in the history
gnu compiler builds fine but blows up during run time with
following error:

set_time_float_from_date: error return from ESMF_TimeSet
for set_time_float_from_date
ERROR: CHKRC

[BFB] - Bit-For-Bit
  • Loading branch information
singhbalwinder committed Apr 15, 2019
1 parent a87eddf commit 68ef274
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 27 deletions.
12 changes: 5 additions & 7 deletions cime/config/e3sm/machines/config_compilers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ for mct, etc.
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDFROOT}</PNETCDF_PATH>
<SLIBS>
<base> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH} -lmkl_rt</base>
<base> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH}/lib/intel64/ -lmkl_rt</base>
</SLIBS>
</compiler>

Expand All @@ -1086,15 +1086,14 @@ for mct, etc.
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append DEBUG="TRUE"> -g -traceback -O0 -fpe0 -check all -check noarg_temp_created -ftrapuv </append>
<append DEBUG="TRUE">-C -Mbounds -traceback -Mchkfpstk -Mchkstk -Mdalign -Mdepchk -Mextend -Miomutex -Mrecursive -Ktrap=fp -O0 -g -byteswapio -Meh_frame</append>
</FFLAGS>
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDFROOT}</PNETCDF_PATH>
<SLIBS>
<base> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH} -lmkl_rt -L$ENV{MPI_LIB} -lmpich </base>
</SLIBS>
<LDFLAGS>
<append> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH}/lib/intel64/ -lmkl_rt </append>
</LDFLAGS>
</compiler>

<compiler MACH="compy" COMPILER="gnu">
Expand All @@ -1110,8 +1109,7 @@ for mct, etc.
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<LDFLAGS>
<append> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH} -lmkl_rt -L$ENV{MPI_LIB} -lmpich </append>
<append MPILIB="!mpi-serial"> -L$ENV{PNETCDF_HOME}/lib -lpnetcdf -L$ENV{HDF5_PATH}/lib -lhdf5_hl -lhdf5 </append>
<append> -lpmi -L$NETCDF_PATH/lib -lnetcdf -lnetcdff -L$ENV{MKL_PATH}/lib/intel64/ -lmkl_rt</append>
</LDFLAGS>
</compiler>

Expand Down
26 changes: 6 additions & 20 deletions cime/config/e3sm/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2029,36 +2029,22 @@
</modules>
<modules compiler="intel">
<command name="load">intel/19.0.3</command>
<command name="load">mkl/2019u3</command>
</modules>
<modules compiler="pgi">
<command name="load">pgi/19.1</command>
<command name="load">mkl/2019u3</command>
<command name="load">pgi/18.10</command>
</modules>
<modules compiler="gnu">
<command name="load">gcc/4.8.5</command>
<command name="load">mkl/2019u3</command>
</modules>
<modules mpilib="mvapich2" compiler="intel">
<command name="load">mvapich2/2.3.1</command>
<command name="load">gcc/8.1.0</command>
</modules>
<modules mpilib="mvapich2" compiler="pgi">
<command name="load">mvapich2/2.3.1</command>
</modules>
<modules mpilib="mvapich2" compiler="gnu">
<modules mpilib="mvapich2">
<command name="load">mvapich2/2.3.1</command>
</modules>
<modules mpilib="openmpi">
<command name="load">openmpi/3.1.3</command>
</modules>
<modules compiler="intel">
<command name="load">netcdf/4.6.3</command>
</modules>
<modules compiler="pgi">
<command name="load">netcdf/4.6.3</command>
</modules>
<modules compiler="gnu">
<modules>
<command name="load">netcdf/4.6.3</command>
<command name="load">mkl/2019u3</command>
</modules>
</module_system>
<RUNDIR>$CIME_OUTPUT_ROOT/$CASE/run</RUNDIR>
Expand All @@ -2067,7 +2053,7 @@
<env name="OMP_STACKSIZE">64M</env>
<env name="NETCDF_HOME">$ENV{NETCDF_ROOT}/</env>
</environment_variables>
<environment_variables compiler="intel">
<environment_variables>
<env name="MKL_PATH">$ENV{MKLROOT}</env>
</environment_variables>
</machine>
Expand Down

0 comments on commit 68ef274

Please sign in to comment.