CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2018, 16:36
Default OpenFOAM 5.0: sudden new compilation error on on the Titan supercomputer (Cray)
  #1
Senior Member
 
Join Date: Jul 2013
Posts: 124
Rep Power: 12
wildfire230 is on a distinguished road
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!
wildfire230 is offline   Reply With Quote

Old   July 15, 2018, 10:06
Default
  #2
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
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?
matejfor is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Compiling OpenFOAM 5.0 on the Titan Supercomputer wildfire230 OpenFOAM Installation 20 May 6, 2020 07:30
OpenFOAM 5.0 Released CFDFoundation OpenFOAM Announcements from OpenFOAM Foundation 11 June 5, 2018 23:48
OpenFOAM 2.3 -> OpenFOAM 5.0 Changes in pressure/energy coupling mturcios777 OpenFOAM 1 May 4, 2018 12:24
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07


All times are GMT -4. The time now is 13:10.