lanl/LaGriT

install-exodus.sh fails to install

Closed this issue · 1 comments

Fix script and/or instructions to build Exodus.
Greg has recommendations that might help.

Configured On:		Fri 08 Dec 2023 02:41:49 PM MST
Host System:		x86_64-Linux-5.4.0-167-generic
Build Directory: 	/project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/TPL/netcdf/netcdf-c/build
Install Prefix:         /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas
Static Library:		yes
Extra libraries:	-lhdf5_hl -lhdf5 -lm -lz -ldl -lz -lzstd -lbz2 -lcurl -lxml2
-- Configuring done
-- Generating done
-- Build files have been written to: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/TPL/netcdf/netcdf-c/build

[ 55%] Building C object libnczarr/CMakeFiles/nczarr.dir/zprov.c.o
/usr/bin/ld: /project/eesdev/tam/clone/LaGriT_V333/TPLs/seacas/lib/libz.a(zutil.o): relocation R_X86_64_PC32 against symbol `z_errmsg' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

[ 58%] Built target nczarr
make: *** [Makefile:166: all] Error 2
couldn't build NetCDF. exiting.

Exodus install scripts have been updated for Linux and Mac OS.

For Linux use install-exodus.sh
The script corrects some issues found in the Exodus configuration files.

For Mac use MAC_install-exodus.sh
The script is the same as suggested by https://github.com/sandialabs/seacas but requires a working set of compilers.
Newer mac compilers show conflicts or are missing fortran, the install script will need valid compilers set.

See help and hints at README.md under LaGriT/cmake