libfiniteVolume.so: file not recognized
Hi
I don't know how to solve this error. I got it after running the buoyantPisofoam tutorial. . . . g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/foam15/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/foam15/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/foam15/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/setHotRoom.o -L/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \ -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/foam15/OpenFOAM/foam15-1.6/applications/bin/linux64GccDPOpt/setHotRoom /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [/home/foam15/OpenFOAM/foam15-1.6/applications/bin/linux64GccDPOpt/setHotRoom] Error 1 Nevertheless the solver runs and got results. I also posted it in another thread regarding the installation of pv3foam http://www.cfd-online.com/Forums/ope...tml#post228221 I have SLED 10 sp1, cmake and gcc4.3.3.3 compiled, 64 bits. and I cannot use the gcc binary of Thirdparty However, in openSUSE 11 64 bits this does not happen. and here, I do use the gcc binary of thirdparty. any hint is appreciated thanks :) Victor |
Quote:
|
Thanks Lakeat
I only downloaded 64 bits binaries, and use the same downloaded files in different computers both with 64 bits. But in SLED I cannot have a working openfoam installation. What else do you suggest :) best Victor |
Hi Victor,
I also met such problem" /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so: file not recognized: File format not recognized collect2: ld returned 1 exit status ", when I compile the groovyBC in the clusters. I also use the binary gcc, because my system gcc is old version, and I do not have the root power to intall the new one. Could you tell me how did you solve this problem? Thanks. Elliot |
You dont need the root power to using your own gcc, just put your desired gcc version inside of the ThirdParty directory and it will work, this is linux, everything you need can be easily user defined.
libfiniteVolume.so: file not recognized. What's your system? Is it 32bits or 64bits? Are you installing the correct binary version? Or you can build it yourself, it's not that hard. |
Hi Daniel WEI,
Thanks for your reply. My system is : SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10 PATCHLEVEL = 1 I think I install binary version correctly, I have run some tutorial case correctly. I tried to compile the gcc in user account, it requires GMP 4.1+ and MPFR 2.3.0+. I need to install these two software, I do not know what I will need to install when I finish this step. In my own desktop and labtop, I can install OpenFOAM correctly, when I follow same step in the cluster in my university, it does not work. Thanks. Elliot |
install gmp and mpfr first, for I am not sure whether your system gmp and mpfr satisfy the demand of new gcc, so try install them into your ThirdParty directory. It's easy and just takes a few minutes.
After that configure the gcc using "--with-gmp=" and "--with mpfr=" something like that, you will find it using google, not difficult, but the gcc compiling process is not short, so you need to have some coffee and sleep and go back to see if it 's finished. Since your system is SUSE, so you are lucky, IMHO, SUSE is the best system for OpenFOAM |
Thanks. I will try it.
Elliot |
Hello Elliot
Hope you're doing fine Honestly due to lack of time I didn't try more things and kept on working with OF-1.5. Best wishes in your project Victor |
Hi Victor,
Thanks. Elliot |
Hi Daniel WEI,
I have recompiled all the OpenFOAM libraries, gcc, and openmpi on the supercomputer in my university. When I run a damBreak case in parallel to do a test. It has following mistakes, Quote:
I have no idea to fix this problem, do I need to get root power to solver it? Thanks. Elliot |
Hi, you mean in your school's own super computer?
|
Yes. On the supercomputer in our school, I need to install the OpenFOAM by myself. And it only has mich mpi, does not have openmpi. I recompiled the openmpi, and try to run a test case, get the above mistakes. Thanks
Elliot |
Sorry for English Users, I have to reply in Chinese TEMPORARILY.
|
哈哈,在这里说中国语还真是别有一番风味。^_^。普及汉语,人人有责。
|
Sorry, I thought you were her, sorry for that.
Would you pls show me your submitted scripts, that would be helpful for examination. Another possible solution is: If you could let me log into your system via vpn, I could help and have a look at it. I would HIGHLY RECOMMEND a Chinese Speaking Sub-Forum be opened, so as to help the Chinese dummies. For instance, Home > Forums > OpenFOAM > Chinese Users (for Dummies) |
The submitted script is
Quote:
Quote:
Elliot |
Well, just for reference, you need to ask those who is using PBS system, eg. your HPC-support.
It looks strange here: Quote:
In the old time, some told me his PBS scripts are something like: Quote:
So look for tutorial of your school's HPC, and talk with them, to see if your scripts is correct. Secondly, are you using your system mpirun or your own openfoam mpirun, I suggest you using system's, so load it first. Just some thoughts |
Thanks for your suggestions.
I use my openfoam mpirun. The system only has inter-mpi. I tried to compile the OpenFOAM with inter-mpi, the error message show that it is not consistent. I have already send the scripts and log file to school's HPC support and wait for their reply. Elliot |
Many talks Intel-mpi performs better than openmpi, so don't give up, have a try.
|
OK, I will keep on working with it and make it work.
|
All times are GMT -4. The time now is 11:55. |