Matthew S. Ellis I Nuclear Engineering Graduate Research Assistant I mell...@gmail.edu
NW12-312 Cambridge, MA 02139Hello,I have a working version of a Yak/OpenMC coupling on my desktop that I wanted to move to fission to run a large benchmark problem. Unfortunately, I wasn't even able to get through compiling. Everything compiles fine on my desktop, but with the same code on fission I get the following printouts during the linking step:/usr/bin/ld: skipping incompatible /lib/libz.so when searching for -lz/usr/bin/ld: cannot find -l-L/apps/local/neams/compiler/gcc/4.6.3/gcc/opt/lib64/../lib64It is worth noting that when I just compile and link yak (no OpenMC) I still get the /lib/libz.so warnings but everything else works fine.
Last summer at INL we did find an error in the libtool file in libmesh that prevented us from compiling moose with openmc on a Linux Desktop. The cause was in ~/projects/trunk/libmesh/installed/contrib/bin/libtool (old directory structure). There was a -l -l statement that should have just been a -l (according to our fix). However, this fix is no longer needed on my linux desktop but the symptoms of getting a linking error with "-l -L ...." are similar.
John,I did indeed forget the first two lines. I was rushing to send that email before I had to leave for a meeting. However, I believe I have the same text as you sent (as shown below):mpif90 for MVAPICH2 version 1.9bDriving: gfortran -L/lib -L/lib -L/lib -Wl,-rpath,/lib -L/lib -Wl,-rpath,/lib -L/lib -L/lib -shared -g -v -I/apps/projects/moose/stack/fbuild/mvapich/gcc-1.9b/include -I/apps/projects/moose/stack/fbuild/mvapich/gcc-1.9b/include -L/apps/projects/moose/stack/fbuild/mvapich/gcc-1.9b/lib -lmpichf90 -Wl,-rpath -Wl,/apps/projects/moose/stack/fbuild/mvapich/gcc-1.9b/lib -lmpich -lopa -lmpl -lrdmacm -libumad -libverbs -ldl -lrt -l gfortran -lm -lpthread -l gfortran -l m -shared-libgccUsing built-in specs.Sorry about the errors in the previous email. Let me know if you think that you can fix the error.
--
You received this message because you are subscribed to the Google Groups "moose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to moose-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matthew S. Ellis I Nuclear Engineering Graduate Research Assistant I mell...@mit.edu
NW12-312 Cambridge, MA 02139 I mob 717.669.5547John,It looks like everything compiles correctly now with the changes you made. Thanks!