You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yea, others have reported a similar problem (see #156). I am not sure where the bug exists yet but the workaround is pretty simple. You just list the HDF5 includes and libraries with the NetCDF includes and libraries like:
Inside the guts of Seacas it puts the hdf5 libraries before the netcdf libraries for some links and thus fails with static libraries. For example
[ 24%] /scratch/balay/petsc/arch-linux-xsdk-dbg/bin/mpicxx -g -std=c++11 -g CMakeFiles/aprepro.dir/aprepro.C.o -o aprepro -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib/gcc/x86_64-unknown-linux-gnu/4.9.0 -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib/gcc -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib64 -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib -rdynamic ../../libraries/suplib/libsuplib.a ../../libraries/aprepro_lib/libaprepro_lib.a ../../../../liblast_lib.a ../../libraries/supes/libsupes.a ../../libraries/exodus_for/forbind/libexodus_for.a ../../libraries/exodus/cbind/libexodus.a -Wl,-rpath,/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -L/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -lz -Wl,-rpath,/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -L/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -lnetcdf -lm -L/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/nfs2/petsc/soft/linux-Ubuntu_12.04-x86_64/clang-3.8.0/lib -lmpifort -lgfortran -lm -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib/gcc/x86_64-unknown-linux-gnu/4.9.0 -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib/gcc -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib64 -L/nfs/software/linux-ubuntu_precise_amd64/apps/packages/gcc-4.9.0/lib -lgfortran -lm -lquadmath -lm -lmpicxx -lstdc++ -L/scratch/balay/petsc/arch-linux-xsdk-dbg/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -L/nfs2/petsc/soft/linux-Ubuntu_12.04-x86_64/clang-3.8.0/lib -ldl -lmpi -lpthread -lrt -L/usr/lib/x86_64-linux-gnu -lgcc_s -ldl -lmpifort -lgfortran -lquadmath
Entire output from build is attached
trilinos.configure.txt
This needs to be fixed for Amanzi xsdk builds.
@bartlettroscoe @jwillenbring @amklinv @jasonsarich
The text was updated successfully, but these errors were encountered: