Dear all, I created a case with I1850CLM50SpCru compset, and I got a build error:
ERROR: BUILD FAIL: buildexe failed, cat /hard/dongwz/cesm/3/bld/cesm.bldlog.200628-222937
>cat /hard/dongwz/cesm/3/bld/cesm.bldlog.200628-222937
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
/home/dongwz/cesm/cime/scripts/3/Tools/Makefile:866: recipe for target '/hard/dongwz/cesm/3/bld/cesm.exe' failed
make: *** [/hard/dongwz/cesm/3/bld/cesm.exe] Error 1
This is my compilers.xml code:
<SLIBS>
<append>-L/home/dongwz/opt-gnu/lib -lhdf5 -lhdf5_hl -lcurl</append>
<append>-L/home/dongwz/opt-gnu/netcdf-gnu -lnetcdff -lnetcdf</append>
<append>-L/usr/lib/x86_64-linux-gnu -lblas -llapack</append>
</SLIBS>
Thanks in advance for your help.
Best,
Dong
ERROR: BUILD FAIL: buildexe failed, cat /hard/dongwz/cesm/3/bld/cesm.bldlog.200628-222937
>cat /hard/dongwz/cesm/3/bld/cesm.bldlog.200628-222937
/usr/bin/ld: cannot find -lblas
/usr/bin/ld: cannot find -llapack
collect2: error: ld returned 1 exit status
/home/dongwz/cesm/cime/scripts/3/Tools/Makefile:866: recipe for target '/hard/dongwz/cesm/3/bld/cesm.exe' failed
make: *** [/hard/dongwz/cesm/3/bld/cesm.exe] Error 1
This is my compilers.xml code:
<SLIBS>
<append>-L/home/dongwz/opt-gnu/lib -lhdf5 -lhdf5_hl -lcurl</append>
<append>-L/home/dongwz/opt-gnu/netcdf-gnu -lnetcdff -lnetcdf</append>
<append>-L/usr/lib/x86_64-linux-gnu -lblas -llapack</append>
</SLIBS>
Thanks in advance for your help.
Best,
Dong