×

Notice

The forum is in read only mode.

Code_saturne 1.4b released!

More
16 years 7 months ago #2251 by David Monfort
Replied by David Monfort on topic Re:Code_saturne 1.4b released!
No problem ;)

Syntax for parallel runs has changed between versions 1.3.2 and 1.4.b (from -p 2 to -mpi for a two-processor run) but in your case, as the -mpi is not recognized as a valid option by cs14.exe, this means that Code_Saturne has not been compiled with MPI support.

You can either try to set the MPI library path to /usr/lib/openmpi in the setup file, or set the compilers to mpicc and mpif77. This latter solution is not my preferred one because it links even serial executables with MPI libraries (like ecs), but it do work.

I forgot... you have to re-install only FVM and the kernel (ncs) as they both need MPI for parallel runs.

Post edited by: David Monfort, at: 2008/09/15 23:45<br /><br />Post edited by: David Monfort, at: 2008/09/15 23:49
More
16 years 7 months ago #2252 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
Seems like I HAVE to be draggede through every little detail of each lib. :pinch:

I've compiled fvm and ncs again and MPI support was found etc.

now, one would think everything is fine then:

[code:1] ********************************************
Calculation starting
********************************************

libibverbs: Fatal: couldn't read uverbs ABI version.
[0,1,0]: OpenIB on host claus-desktop was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
libibverbs: Fatal: couldn't read uverbs ABI version.
[0,1,1]: OpenIB on host claus-desktop was unable to find any HCAs.
Another transport will be used instead, although this may result in
lower performance.
[claus-desktop:31850] *** Process received signal ***
[claus-desktop:31850] Signal: Segmentation fault (11)
[claus-desktop:31850] Signal code: Address not mapped (1)
[claus-desktop:31850] Failing at address: 0x3c
[claus-desktop:31850] [ 0] [0xb7f5a440]
[claus-desktop:31850] [ 1] /usr/lib/libhdf5-1.6.5.so.0(PMPI_Comm_rank+0x25) [0xb7e39465]
[claus-desktop:31850] [ 2] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe(cs_base_mpi_init+0x4f) [0x80b99d7]
[claus-desktop:31850] [ 3] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe(main+0x5d) [0x8061b0d]
[claus-desktop:31850] [ 4] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7858450]
[claus-desktop:31850] [ 5] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe [0x8061a41]
[claus-desktop:31850] *** End of error message ***
Segmentation fault
[claus-desktop:31848] *** Process received signal ***
[claus-desktop:31848] Signal: Segmentation fault (11)
[claus-desktop:31848] Signal code: Address not mapped (1)
[claus-desktop:31848] Failing at address: 0x3c
[claus-desktop:31848] [ 0] [0xb7f88440]
[claus-desktop:31848] [ 1] /usr/lib/libhdf5-1.6.5.so.0(PMPI_Comm_rank+0x25) [0xb7e67465]
[claus-desktop:31848] [ 2] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe(cs_base_mpi_init+0x4f) [0x80b99d7]
[claus-desktop:31848] [ 3] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe(main+0x5d) [0x8061b0d]
[claus-desktop:31848] [ 4] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7886450]
[claus-desktop:31848] [ 5] /root/tmp_Saturne/ASDFASDF.2.09161143/cs14.exe [0x8061a41]
[claus-desktop:31848] *** End of error message ***
Segmentation fault
Error running the calculation.

Check Kernel log (listing) and error* files for details


********************************************
Error in calculation stage.
********************************************
root@claus-desktop:/opt/code_saturne/ASDFASDF/2/DATA#

Attachment summary.gz not found

[/code:1]

Obviously this is a openmpi problem - but I can't crack it right now - all libs. resembling anything mentioned here is installed - I think :angry: -- hah I'll take a break now;)

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Attachments:
More
16 years 7 months ago #2253 by David Monfort
Replied by David Monfort on topic Re:Code_saturne 1.4b released!
Hmmmm, I might have an idea about why you get this error.

I can see in the stack trace that there is a MPI reference along with the HDF5 library here:[code:1][claus-desktop:31850] [ 1] /usr/lib/libhdf5-1.6.5.so.0(PMPI_Comm_rank+0x25) [0xb7e39465][/code:1]
It seems you are using a parallel version of HDF5 and I think no one did ever tried this...

Could you try (again...) with a serial version of HDF5 ? (except if you really need it for something else)

I'll ask a colleague of mine about this.
More
16 years 7 months ago #2254 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
I love my goddamn STUBBORNNESS (and your help) :woohoo: :P

Got I working now with hdf-serial - I missed that one when I checked for libs.

I think I'll do a short writeup for an ubuntu-install, exemplifying what not to do :lol:

Well - seems like it is working fine now - I'll be back when I start using it for real :whistle:
<br /><br />Post edited by: Claus, at: 2008/09/16 14:24

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Attachments:
More
16 years 7 months ago #2255 by David Monfort
Replied by David Monfort on topic Re:Code_saturne 1.4b released!
Nice job! B)

I had planned to write a short tutorial on how to install Code_Saturne on several distros but due a lack of time, I postponed this task. Maybe it would help people...
More
16 years 7 months ago #2256 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
Well then I'll write a short guide to installing on ubuntu, since Im going to install it on my 8.04 laptop later today and I can do it step by step on a fresh install.

I'll try to make it as generic as possible, then hopefully you can cut/paste some of it to save some time on other distributions :)

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
Moderators: catux
Time to create page: 0.196 seconds
Powered by Kunena Forum