|
[Sponsors] |
September 2, 2009, 21:05 |
libfiniteVolume.so: file not recognized
|
#1 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
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 |
|
September 3, 2009, 00:17 |
|
#2 | |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Quote:
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
||
September 3, 2009, 17:55 |
|
#3 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
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 |
|
June 11, 2010, 19:10 |
|
#4 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
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 |
|
June 11, 2010, 19:25 |
|
#5 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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.
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
June 11, 2010, 19:50 |
|
#6 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
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 |
|
June 11, 2010, 20:03 |
|
#7 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
June 11, 2010, 21:46 |
|
#8 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
Thanks. I will try it.
Elliot |
|
June 11, 2010, 22:05 |
|
#9 |
Member
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 17 |
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 |
|
June 11, 2010, 22:25 |
|
#10 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
Hi Victor,
Thanks. Elliot |
|
June 21, 2010, 16:50 |
|
#11 | |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
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 |
||
June 21, 2010, 18:29 |
|
#13 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
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 |
|
June 23, 2010, 20:47 |
|
#14 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Sorry for English Users, I have to reply in Chinese TEMPORARILY.
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China Last edited by lakeat; June 24, 2010 at 12:00. |
|
June 24, 2010, 00:14 |
|
#15 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 17 |
哈哈,在这里说中国语还真是别有一番风味。^_^。普及汉语,人人有责。
|
|
June 24, 2010, 12:21 |
|
#16 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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)
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
June 24, 2010, 13:22 |
|
#17 | ||
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
The submitted script is
Quote:
Quote:
Elliot |
|||
June 24, 2010, 13:47 |
|
#18 | ||
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
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
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|||
June 24, 2010, 14:02 |
|
#19 |
New Member
Join Date: Mar 2010
Posts: 20
Rep Power: 16 |
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 |
|
June 24, 2010, 14:23 |
|
#20 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Many talks Intel-mpi performs better than openmpi, so don't give up, have a try.
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Changing the grid on the same set-up | Katya | FLUENT | 7 | October 8, 2009 17:31 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |
FoamToVTK and MayaVi | alexandrepereira | OpenFOAM Post-Processing | 57 | August 11, 2008 05:15 |