[vtkusers] Fail to use EXODUS II subroutines in fortran
Ruichao Ye
rye at purdue.edu
Mon Jun 25 13:30:08 EDT 2012
Dear all,
I am trying to use EXODUS II subroutines in my Fortran95 program. I installed exodus-5.21 by 'make -f Makefile.standalone' and no error occurs. (BTW I modified exodus-5.21/exodus/forbind/src/Makefile.standalone: "$(CP) libexoIIv2for.a ../../" to "cp libexoIIv2for.a ../../"). However some error occurs in compiling my program:
ifort -o ../bin/FE ../OBJ/mod_string.o ../OBJ/mod_para.o ../OBJ/mod_datatype.o ../OBJ/mod_meshfile.o ../OBJ/mod_solve.o ../OBJ/mod_exoutputfor.o ../OBJ/FE.o -openmp -openmp_report2 -I../OBJ -L/opt/intel/mkl/10.2.0.013/lib/em64t -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_lp64 -lmkl_lapack -lguide -lpthread -L/home/rye/exodus-5.21/exodus -lexodus -lexoIIv2for `/home/rye/netcdf/bin/nc-config --libs` -I/home/rye/exodus-5.21/exodus/cbind/include -I/home/rye/exodus-5.21/exodus/forbind/include `/home/rye/netcdf/bin/nc-config --cflags` -L/home/rye/exodus-5.21/exodus -lexodus -lexoIIv2for `/home/rye/netcdf/bin/nc-config --libs`
/opt/intel/composer_xe_2011_sp1.6.233/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
../OBJ/mod_exoutputfor.o: In function `init_exodusii':
/home/rye/FE/src/./mod_exoutputfor.f90:29: undefined reference to `excre_'
/home/rye/FE/src/./mod_exoutputfor.f90:34: undefined reference to `expini_'
/home/rye/FE/src/./mod_exoutputfor.f90:36: undefined reference to `expcor_'
/home/rye/FE/src/./mod_exoutputfor.f90:39: undefined reference to `expcon_'
/home/rye/FE/src/./mod_exoutputfor.f90:41: undefined reference to `expelb_'
/home/rye/FE/src/./mod_exoutputfor.f90:48: undefined reference to `expelc_'
/home/rye/FE/src/./mod_exoutputfor.f90:50: undefined reference to `expvp_'
/home/rye/FE/src/./mod_exoutputfor.f90:53: undefined reference to `expvan_'
../OBJ/mod_exoutputfor.o: In function `snap_exodusii':
/home/rye/FE/src/./mod_exoutputfor.f90:61: undefined reference to `exptim_'
/home/rye/FE/src/./mod_exoutputfor.f90:63: undefined reference to `expnv_'
/home/rye/FE/src/./mod_exoutputfor.f90:65: undefined reference to `expnv_'
/home/rye/FE/src/./mod_exoutputfor.f90:67: undefined reference to `expnv_'
/home/rye/FE/src/./mod_exoutputfor.f90:69: undefined reference to `exupda_'
make: *** [../bin/DGseis2D] Error 1
Could anyone tell me what is going wrong? Thank you.
Richard
More information about the vtkusers
mailing list