Linking Library ~/Documents/01_project/Code/moose/framework/contrib/pcre/libpcre-opt.la...
~/Documents/01_project/Code/moose/framework/contrib/mtwist-1.1/src/randistrs.c:
~/Documents/01_project/Code/moose/framework/contrib/mtwist-1.1/src/mtwist.c:
Linking ~/Documents/01_project/Code/moose/framework/contrib/exodiff/exodiff...
ar: ~/Documents/01_project/Code/moose/framework/contrib/pcre/src/pcre_dfa_exec.x86_64-unknown-linux-gnu.opt.o: No such file or directory
/usr/bin/ld:~/Documents/01_project/Code/moose/framework/contrib/exodiff/check.x86_64-unknown-linux-gnu.opt.o: file format not recognized; treating as linker script
/usr/bin/ld:~/Documents/01_project/Code/moose/framework/contrib/exodiff/check.x86_64-unknown-linux-gnu.opt.o:1: syntax error
make: *** [~/Documents/01_project/Code/moose/framework/contrib/pcre/libpcre-opt.la] Error 1
make: *** Waiting for unfinished jobs....
make: *** [~/Documents/01_project/Code/moose/framework/contrib/exodiff/exodiff] Error 2
PS: I am working with Ubuntu 14.04 and using Portland Compilers 15.1.
--
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.
Visit this group at http://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/347c38d1-fec1-4cf6-b345-527afc9ec21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thank you for your reply.
The reason we are using PGI is that we work with a legacy code that we want to extend. If I cannot make MOOSE compile with PGI I guess eventually we will have to move to GCC or Clang.
Regarding the software stack:
I actually took very good care of setting up everything compatibly. After installing the PGI compilers, the first thing I did was building openMPI. This way I use the MPI commands as drivers to PGI compilers.
Following that I created install scripts for the following software packets: SLEPc, PETSc, Trilinos, HDF5 (which we are already using), VTK. In every shell script I set the environment variables CC, CXX, FC, etc. to the respective mpi wrappers.
After doing so, I run the update_and_rebuild_libmesh.sh script where I had to add the following options to configure: --disable-unordered-containers --disable-fparser-optimizer --enable-static --disable-shared. Additionally in libmesh/configure I have to change the flags '-fno-omit-frame-pointer' to the PGI-flag '-Mnoframe'. This way I can compile libMesh.
To compile MOOSE I had to change flags -MF to -MD inside framework/build.mk and remove flags -MF.
PGI specifies pgc++ as their C++ compiler for Linux since it is compatible with GNU libraries. Could that be the reason parts of the software stack were 'compiled with GCC'?
Sincerely
On Wednesday, February 11, 2015 at 4:15:03 PM UTC+1, Cody Permann wrote:We haven't built with the PGI compilers for a long time so it's possible there could be a few regressions. However, this error is most likely due to the fact that part of your software stack was compiled with GCC while the MOOSE was compiled with PGI. You'll need to rebuild the entire software stack with your compilers to ensure binary compatibility. If you want to go that route, you'll need to follow the instructions here modifying them as necessary for your compiler:Unless you have a specific reason for using PGI, you'll receive better support if you stick with GCC or Clang.CodyOn Wed Feb 11 2015 at 3:16:46 AM Moose User <b....@bluewin.ch> wrote:PS: I am working with Ubuntu 14.04 and using Portland Compilers 15.1.--
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.--
Visit this group at http://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/347c38d1-fec1-4cf6-b345-527afc9ec21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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.
Visit this group at http://groups.google.com/group/moose-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/7be894d5-159b-4ad7-b2a7-ecbc2a9f09e0%40googlegroups.com.
ar: ~/Documents/01_project/Code/moose/framework/contrib/pcre/src/pcre_dfa_exec.x86_64-unknown-linux-gnu.opt.o: No such file or directory
/usr/bin/ld:~/Documents/01_project/Code/moose/framework/contrib/exodiff/check.x86_64-unknown-linux-gnu.opt.o: file format not recognized; treating as linker script
/usr/bin/ld:~/Documents/01_project/Code/moose/framework/contrib/exodiff/check.x86_64-unknown-linux-gnu.opt.o:1: syntax error
make
make: *** [~/Documents/01_project/Code/moose/framework/contrib/pcre/libpcre-opt.la] Error 1
make: *** Waiting for unfinished jobs....
make: *** [~/Documents/01_project/Code/moose/framework/contrib/exodiff/exodiff] Error 2
To compile MOOSE I had to change flags -MF to -MD inside framework/build.mk and remove flags -MF.
Regarding the software stack:
I actually took very good care of setting up everything compatibly. After installing the PGI compilers, the first thing I did was building openMPI. This way I use the MPI commands as drivers to PGI compilers.
Following that I created install scripts for the following software packets: SLEPc, PETSc, Trilinos, HDF5 (which we are already using), VTK. In every shell script I set the environment variables CC, CXX, FC, etc. to the respective mpi wrappers.
After doing so, I run the update_and_rebuild_libmesh.sh script where I had to add the following options to configure: --disable-unordered-containers --disable-fparser-optimizer --enable-static --disable-shared. Additionally in libmesh/configure I have to change the flags '-fno-omit-frame-pointer' to the PGI-flag '-Mnoframe'. This way I can compile libMesh.
pcre_dfa_exec.x86_64-unknown-linux-gnu.opt.o
To view this discussion on the web visit https://groups.google.com/d/msgid/moose-users/3a9e1a92-2fd2-4ae8-b84c-bed5cc1d1661%40googlegroups.com.