Error while compiling OpenFOAM on Redhat cluster
Hi all,
I met a problem while compiling OF2.1.1 on Redhat. The error information is as follows, I have no idea of the " Protocol error" at all. .. Can you guys help me? Thanks a lot. Code:
SOURCE=UPstream.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/lustre/home/hpc-mhwen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/lustre/home/hpc-mhwen/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/UPstream.o |
Greetings feiqunali,
If my deduction is correct, what you're experiencing is a limitation on the Lustre installation your cluster is using. Because the problem is triggered on a file that is using a symbolic link, which OpenFOAM uses for compiling all library files, namely for symbolically linking to almost all source code files that OpenFOAM has got. In other words, in order to make it easier to compile OpenFOAM's libraries, it uses the "lnInclude" folder on each major library's source code folder, which contains links to all of the files relevant to that library. Then other libraries (and itself) can simply add to the search path a single directory path for each library. Anyway, there are two possible solutions that I can think of:
Bruno |
Thanks.
Can you describe the first solution more detailly? What should I tell the administrator to do? |
All you can do is describe the problem:
|
All times are GMT -4. The time now is 15:22. |