Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Compilation failed with Ubuntu 24.04

Compilation failed with Ubuntu 24.04 3 weeks 5 days ago #46683

Hello,

It seems that the simulation was not correctly split in 4 at the beginning, since the log says that it didn't find the 4th result file and as you mention that there is only one RES file in the directory.

I guess you would also need to install and include METIS.

Edouard
The administrator has disabled public write access.

Compilation failed with Ubuntu 24.04 3 weeks 5 days ago #46684

  • phmusiedlak
  • phmusiedlak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 5
Hello Edouard,

thanks for the reply,

I am pretty sure I do include METIS :
in .sh
export HOMETEL=/home/phmusiedlak/telemac-mascaret
export METISHOME=$HOMETEL/optionals/metis/build/

in systel.cfg
sfx_lib: .a
libs_all: -L$METISHOME/lib -lmetis

and
libmetis.a file is in the correct directory:
/home/phmusiedlak/telemac-mascaret/optionals/metis/build/lib

and I did the same installation way on our local cluster and I have no troubles (and I did'nt remember having any troubles on this machine with the previous WSL using Ubuntu 22).

I found out yesterday that the usual test of mpirun/mpiexec gives wrong output:
phmusiedlak@HQ-FIX-PMK:~$ mpirun -np 4 ./mpi_hello
Hello from HQ-FIX-PMK, rank 0 (of 1).
Hello from HQ-FIX-PMK, rank 0 (of 1).
Hello from HQ-FIX-PMK, rank 0 (of 1).
Hello from HQ-FIX-PMK, rank 0 (of 1).

So I am guessing for the need of an mpirun flag; but which?!

Have a nice day

Pierre-Henri
The administrator has disabled public write access.

Compilation failed with Ubuntu 24.04 3 weeks 5 days ago #46685

  • phmusiedlak
  • phmusiedlak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 5
found out some interesting stuff on mpirun and Ubuntu 24:
"There is an issue with MPICH and mpiexec/mpirun on Ubuntu 24.04."
stackoverflow.com/questions/78815680/mpi...ways-returns-1-again
The administrator has disabled public write access.

Compilation failed with Ubuntu 24.04 3 weeks 5 days ago #46686

  • phmusiedlak
  • phmusiedlak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 5
my bad I think I missed the mpi4py python library (was'nt written on my personal installation procedure)

now recompiling...
The administrator has disabled public write access.

Compilation failed with Ubuntu 24.04 3 weeks 5 days ago #46688

  • phmusiedlak
  • phmusiedlak's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 28
  • Thank you received: 5
finally,

so the problem was NOT due to mpi4py : this library is NOT required.

However these two are: libopenmpi-dev and openmpi-bin
sudo apt install libopenmpi-dev openmpi-bin

(again) Thanks to: hydro-informatics.com/get-started/install-telemac.html

Openmpi-bin solved the // issue mpirun:
phmusiedlak@HQ-FIX-PMK:~$ mpirun -np 4 mpi_hello
Hello from HQ-FIX-PMK, rank 0 (of 4).
Hello from HQ-FIX-PMK, rank 1 (of 4).
Hello from HQ-FIX-PMK, rank 2 (of 4).
Hello from HQ-FIX-PMK, rank 3 (of 4).

but it is not enough as we require a fortran compiler: here comes libopenmpi-dev

Thanks

Pierre-Henri
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.