Problem with libple.so.2
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: Problem with libple.so.2
Hello Yvan,
I have the folder of OpenMPI installed in the same path than you : /usr/lib/x86_64-linux-gnu/openmpi
I try the command line:
Code_Saturne configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
but it doesnt do nothing, only the message with all the command associated with the use of CS.
The error when I try to run a case in parallel is stil the same.
Best regards
Julien
I have the folder of OpenMPI installed in the same path than you : /usr/lib/x86_64-linux-gnu/openmpi
I try the command line:
Code_Saturne configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
but it doesnt do nothing, only the message with all the command associated with the use of CS.
The error when I try to run a case in parallel is stil the same.
Best regards
Julien
Re: Problem with libple.so.2
Hello,
Step1: be sure you have necessary development packages installed:
Step2: configure code_saturne with mpi support (please note the last 3 lines):
Step3: make and make install as usual.
It should work. If not, give the error message or upload config.log again.
Good luck.
It sounds like you didn't do it the right way. You have to rebuild code_saturne with mpi support before you can use it.I try the command line:
Code_Saturne configure --with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
Step1: be sure you have necessary development packages installed:
Code: Select all
sudo apt install libopenmpi-dev openmpi-bin
Code: Select all
configure \
--prefix=/home/julien/code_saturne/7.2.0/code_saturne-7.2.0/arch/Linux_x86_64 \
--with-hdf5=/home/julien/code_saturne/7.2.0/hdf5-1.10.6/arch/Linux_x86_64 \
--with-cgns=/home/julien/code_saturne/7.2.0/cgns-4.3.0/arch/Linux_x86_64 \
--with-med=/home/julien/code_saturne/7.2.0/med-4.1.1/arch/Linux_x86_64 \
--without-metis \
--without-scotch \
PYTHON=/usr/bin/python3 \
--disable-static \
CXX=mpicxx \
CC=mpicc \
--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
It should work. If not, give the error message or upload config.log again.
Good luck.
Re: Problem with libple.so.2
Hello,
Thank you for your help.
I have done
./configure
CXX=mpicxx \
CC=mpicc \
--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
make
make install (in admin mode)
But it still complains with the error
/cs_solver was built without MPI support,
so option "--mpi" may not be used.
solver script exited with status 1.
Error running the calculation.
Check run_solver.log and error* files for details.
Domain None (code_saturne):
run_solver.log, error*.
Here is the config.log file
Thank you very much
Julien
Thank you for your help.
I have done
./configure
CXX=mpicxx \
CC=mpicc \
--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
make
make install (in admin mode)
But it still complains with the error
/cs_solver was built without MPI support,
so option "--mpi" may not be used.
solver script exited with status 1.
Error running the calculation.
Check run_solver.log and error* files for details.
Domain None (code_saturne):
run_solver.log, error*.
Here is the config.log file
Thank you very much
Julien
Re: Problem with libple.so.2
No, you didn't. Otherwise you have uploaded a wrong config.log.I have done
./configure
CXX=mpicxx \
CC=mpicc \
--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi
Don't install as root. Not necessary because you install to your own home directorymake
make install (in admin mode)
(-- refix=/home/julien/code_saturne/7.2.0/code_saturne-7.2.0/arch/Linux_x86_64) nor a good idea because there may be some side effects when you launch as ordinary user.
Re: Problem with libple.so.2
Hello,
I have start a fresh install of CS7.2. I try Debian but I have several freeze so I come back on Ubuntu.
I have follow each steps of this video
https://www.youtube.com/watch?v=iwke0YRpMrE
I have errors during installation.
See my config.log file.
What I have done wrong?
Best regards
Julien
I have start a fresh install of CS7.2. I try Debian but I have several freeze so I come back on Ubuntu.
I have follow each steps of this video
https://www.youtube.com/watch?v=iwke0YRpMrE
I have errors during installation.
See my config.log file.
What I have done wrong?
Best regards
Julien
- Attachments
-
- config.log
- (16.89 KiB) Downloaded 752 times
-
- Posts: 4157
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Problem with libple.so.2
Hello,
The important part in your config.log is here:
With, a few lines earlier:
So it seems your "/usr/bin/mpicc" wrapper is not working. You may want to reinstall the Ubuntu MPI wrappers / packages.
Otherwise, try compiling any simple "hello world" C program (MPI or not) with it, and if it fails, this might be an Ubuntu packaging bug...
Best regards,
Yvan
The important part in your config.log is here:
Code: Select all
configure:4952: error: in `/home/julien/Code_Saturne/code_saturne-7.2.0.build':
configure:4954: error: C compiler cannot create executables
See `config.log' for more details
Code: Select all
configure:4883: checking whether the C compiler works
configure:4905: /usr/bin/mpicc conftest.c >&5
/usr/bin/ld: cannot find -lmpi: No such file or directory
/usr/bin/ld: cannot find -lopen-rte: No such file or directory
/usr/bin/ld: cannot find -lopen-pal: No such file or directory
/usr/bin/ld: cannot find -lhwloc: No such file or directory
/usr/bin/ld: cannot find -levent_core: No such file or directory
/usr/bin/ld: cannot find -levent_pthreads: No such file or directory
Otherwise, try compiling any simple "hello world" C program (MPI or not) with it, and if it fails, this might be an Ubuntu packaging bug...
Best regards,
Yvan
Re: Problem with libple.so.2
Hello,
Did you try Step1~Step3 in my previous post? It should work for Ubuntu 22.04. But from your latest config.log it seems you didn't. Without Step1, you won't have compiler wrappers (/usr/bin/mpicc and /usr/bin/mpicxx) and mpi header files; withou setting '--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi' in Step3 the mpi library and header files won't be found.
Best regards
Did you try Step1~Step3 in my previous post? It should work for Ubuntu 22.04. But from your latest config.log it seems you didn't. Without Step1, you won't have compiler wrappers (/usr/bin/mpicc and /usr/bin/mpicxx) and mpi header files; withou setting '--with-mpi=/usr/lib/x86_64-linux-gnu/openmpi' in Step3 the mpi library and header files won't be found.
Best regards
Re: Problem with libple.so.2
Hello,
I have re-install properly CS7.2 on Ubuntu 22.10, everything works well none.
Thank you for your help.
Julien
I have re-install properly CS7.2 on Ubuntu 22.10, everything works well none.
Thank you for your help.
Julien
Re: Problem with libple.so.2
As a "I have the same" comment, on Ubuntu I see the same problem. While not that big of a deal, if there was a general solution that fit into the install stage, it would be preferred; for now I just run "export LD_LIBRARY_PATH..." each time in a new shell, as I keep multiple versions on my machine, and anyway don't like messing with bashrc unless necessary. With older code_saturne, it was never an issue.