E3SM-Project / E3SM

Energy Exascale Earth System Model source code. NOTE: use "maint" branches for your work. Head of master is not validated.

Home Page:https://docs.e3sm.org/E3SM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build error on perlmutter if module matlab is loaded

ndkeen opened this issue · comments

commented

Ziming Chen at PNNL discovered this issue. We seem to get a build fail in MCT with matlab module loaded. I will explicitly unload matlab. Credit to NERSC support for recognizing it might be matlab (Rebbeca Hartman-Baker and Anneter Greiner).

Finished SHAREDLIB_BUILD for test SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel in 40.939578 seconds (FAIL). [COMPLETED 1 of 1]
    Case dir: /pscratch/sd/n/ndk/e3sm_scratch/pm-cpu/SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel.20240503_163756_zq6pal
    Errors were:
        Building test for SMS in directory /pscratch/sd/n/ndk/e3sm_scratch/pm-cpu/SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel.20240503_163756_zq6pal
        ERROR: /global/cfs/cdirs/e3sm/ndk/repos/nexty-apr26/share/build/buildlib.mct FAILED, cat /pscratch/sd/n/ndk/e3sm_scratch/pm-cpu/SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel.20240503_163756_zq6pal/bld/mct.bldlog.240503-163900

Waiting for tests to finish


...

checking how to get verbose linking output from ftn... -v
checking for Fortran libraries of ftn...  -L/opt/cray/pe/mpich/8.1.25/ofi/intel/19.0/lib -L/opt/cray/pe/libsci/23.02.1.1/INTEL/2022.2/x86_64/lib -L/opt/cray/pe/parallel-netcdf/1.12.3.3/intel/19.0/lib -L/opt/cray/pe/netcdf-hdf5parallel/4.9.0.3/intel/19.0/lib -L/opt/cray/pe/hdf5-parallel/1.12.2.3/intel/19.0/lib -L/opt/cray/pe/dsmml/0.2.2/dsmml//lib -L/opt/cray/xpmem/2.6.2-2.5_2.38__gd067c3f.shasta/lib64 -L/opt/intel/oneapi/mkl/2023.1.0/lib/intel64 -L/opt/intel/oneapi/compiler/2023.1.0/linux/compiler/lib/intel64_lin -L/opt/intel/oneapi/compiler/2023.1.0/linux/lib -L/opt/intel/oneapi/compiler/2023.1.0/linux/bin/intel64/../../compiler/lib/intel64_lin -L/usr/lib64/gcc/x86_64-suse-linux/12/ -L/usr/lib64/gcc/x86_64-suse-linux/12/../../../../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/12/../../../../lib64/ -L/lib/../lib64 -L/lib/../lib64/ -L/usr/lib/../lib64 -L/usr/lib/../lib64/ -L/opt/intel/oneapi/mkl/2023.1.0/lib/intel64/ -L/opt/intel/oneapi/compiler/2023.1.0/linux/compiler/lib/intel64_lin/ -L/opt/intel/oneapi/compiler/2023.1.0/linux/lib/ -L/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/lib/ -L/usr/lib64/gcc/x86_64-suse-linux/12/../../../ -L/lib64 -L/lib/ -L/usr/lib64 -L/usr/lib -lhdf5_hl_parallel -lhdf5_parallel -lhdf5hl_fortran_parallel -lhdf5_fortran_parallel -lpnetcdf -lmpichf90 -lnetcdf -lnetcdff -lmpifort_intel -lmpi_intel -lsci_intel_mpi -lsci_intel -ldl -ldsmml -lxpmem -limf -lm -lpthread -lifport -lifcoremt -lsvml -lipgo -lirc -lirc_s
checking for dummy main to link with Fortran libraries... unknown
configure: error: in `/pscratch/sd/n/ndk/e3sm_scratch/pm-cpu/SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel.20240503_163756_zq6pal/bld/intel/mpich/debug/nothreads/mct/mct':
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details
ERROR: configure: error: in `/pscratch/sd/n/ndk/e3sm_scratch/pm-cpu/SMS_D.ne4pg2_oQU480.F2010.pm-cpu_intel.20240503_163756_zq6pal/bld/intel/mpich/debug/nothreads/mct/mct':
configure: error: linking to Fortran libraries from C fails