noaa-ocs-modeling / CoastalApp

CoastalApp will be deprecated. Please switch to https://github.com/oceanmodeling/ufs-coastal . CoastalApp is a NUOPC application implemented following UFS best practices to couple coastal ocean models and other domains (Sea Ice, Atmosphere, Wave, Inland Hydrology, ...)
https://github.com/oceanmodeling/ufs-coastal
Creative Commons Zero v1.0 Universal
13 stars 32 forks source link

--thirdparty libparmetis is not found on femto #158

Closed platipodium closed 1 year ago

platipodium commented 1 year ago

After executing parmetis download and build femto, CoastalApp does not find libparmetis

scripts/download_parmetis.sh
./build.sh -plat femto --compiler intel --component "atmesh adcirc schism ww3 ww3data" --tp parmetis

Results in:

make[2]: Entering directory `/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/NEMS/src/ENS_Cpl'
ar -r ENS_Cpl.a ENS_CplComp_ESMFMod_STUB.o
make[2]: Leaving directory `/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/NEMS/src/ENS_Cpl'
echo libgocart is
libgocart is
echo extlibs is -L -lnemsio -L/usr/local/skylake/linux-centos7-x86_64/intel-18.0.5/netcdf-4.4.1.1-mtecjavmtxm5pcn3zqjhkm57xzk2byqw/lib -lnetcdf -L/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -Wl,-rpath,/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -lesmf  -lmpi_cxx -cxxlib -lrt -ldl -lnetcdff -lnetcdf  -lm
extlibs is -L -lnemsio -L/usr/local/skylake/linux-centos7-x86_64/intel-18.0.5/netcdf-4.4.1.1-mtecjavmtxm5pcn3zqjhkm57xzk2byqw/lib -lnetcdf -L/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -Wl,-rpath,/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -lesmf -lmpi_cxx -cxxlib -lrt -ldl -lnetcdff -lnetcdf -lm
mpifort -g -qopenmp -mkl=sequential -align array32byte -lmkl_intel_lp64 -lmkl_core -lmkl_sequential -lpthread -qopenmp -convert big_endian -assume byterecl -mkl=sequential  -o /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/NEMS/exe/NEMS.x MAIN_NEMS.o module_NEMS_UTILS.o module_MEDIATOR_methods.o module_MEDIATOR.o module_MEDIATOR_SpaceWeather.o module_EARTH_INTERNAL_STATE.o module_EARTH_GRID_COMP.o module_NEMS_INTERNAL_STATE.o module_NEMS_GRID_COMP.o module_NEMS_Rusage.o nems_c_rusage.o  -L/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3DATA_INSTALL /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3DATA_INSTALL/libww3data_cap.a   /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3/model/obj_MPI/libww3_multi_esmf.a /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/THIRDPARTY_INSTALL/lib/libparmetis.a /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/THIRDPARTY_INSTALL/lib/libmetis.a   -L/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/SCHISM/build/lib -lschism_cap -lhydro -lcore -lparmetis -lmetis -L/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ADCIRC_INSTALL -ladc /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ADCIRC_INSTALL/libadc_cap.a  -L/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ADCIRC/work/  /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ADCIRC/work/libadc.a   -L/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ATMESH_INSTALL /sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/ATMESH_INSTALL/libatmesh_cap.a   ENS_Cpl/ENS_Cpl.a -L -lnemsio -L/usr/local/skylake/linux-centos7-x86_64/intel-18.0.5/netcdf-4.4.1.1-mtecjavmtxm5pcn3zqjhkm57xzk2byqw/lib -lnetcdf -L/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -Wl,-rpath,/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default -lesmf  -lmpi_cxx -cxxlib -lrt -ldl -lnetcdff -lnetcdf  -lm
ld: cannot find -lparmetis
ld: cannot find -lmetis
pvelissariou1 commented 1 year ago

Carsten, please update. Is this still an issue on femto?

platipodium commented 1 year ago

Will do, but bear with me ...

pvelissariou1 commented 1 year ago

Closing this issues as completed. If @platipodium reports further problems we will reopen it.