OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray)
Hi all,
I am working with OpenFOAM 5 on the Titan supercomputer. I have successfully compiled, and things have been working great. I've written a few custom solvers and compiled those successfully, and everything is fine. Today, when I tried to compile a new solver I received a link error which halted compilation. I then found that I now receive this error with every attempted compilation. For example, in the icoFoam directory if I run 'wclean' and then 'wmake' I receive the following output: Making dependency list for source file icoFoam.C CC -std=c++11 -m64 -Dcrayxc -DWM_ARCH_OPTION=cray -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/finiteVolume/lnInclude -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/meshTools/lnInclude -IlnInclude -I. -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/OSspecific/POSIX/lnInclude -fPIC -c icoFoam.C -o /ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/applications/solvers/incompressible/icoFoam/icoFoam.o CC -std=c++11 -m64 -Dcrayxc -DWM_ARCH_OPTION=cray -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/finiteVolume/lnInclude -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/meshTools/lnInclude -IlnInclude -I. -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude -I/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed /ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/applications/solvers/incompressible/icoFoam/icoFoam.o -L/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/lib \ -lfiniteVolume -lmeshTools -lOpenFOAM -ldl \ -lm -o /ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/bin/icoFoam /ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/applications/solvers/incompressible/icoFoam/icoFoam.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80): undefined reference to `Foam::UOPstream::writeQuoted(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' /usr/bin/ld: link errors found, deleting executable `/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/bin/icoFoam' /usr/bin/sha1sum: /ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/bin/icoFoam: No such file or directory collect2: error: ld returned 1 exit status make: *** [/ccs/proj/cfd108/OpenFOAM/OpenFOAM-5.0/platforms/crayxcGccDPInt32Opt/bin/icoFoam] Error 1 It seems like I now receive this same error with every attempted compilation. Has anyone seen this before? The only thing that I know has changed is that the version of mpich-gnu has switched from 4.9 to 5.1, and I no longer have access to the 4.9. I'm not sure if this could be a culprit or not. Thanks! |
Well the error is about missing reference to Pstream function so your guess the mpich could be the trouble is shooting the right direction.
I guess the mpich libs are under the same name and you configured it in bashrc correctly and you removed all the dep files and cleaned, right? |
All times are GMT -4. The time now is 00:06. |