×

Notice

The forum is in read only mode.

Code_saturne 1.4b released!

More
16 years 7 months ago #2235 by Claus
Code_saturne 1.4b released! was created by Claus
rd.edf.com/the-edf-offers/research-and-d...-saturne-107008.html

I have some problems compiling it - but please post here if you manage to get it to work :)

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
More
16 years 7 months ago #2239 by David Monfort
Replied by David Monfort on topic Re:Code_saturne 1.4b released!
Hello Claus,

Could you tell me what issue you encounter during the installation ?

David
More
16 years 7 months ago #2240 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
Actually it's the nightmares of getting the compulsory libs. installede and working together - so far I've compiled bft fine, but am stuck at getting openmpi/hdf5/med to play along to get fvm compiling. (can't get hdf5 to use custom ../saturne/opt/openmpi-1.2.6, 'med' can't use the broken HDF5, hence the compile of fvm fails)

I'll return if I ever get it to work :evil:

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
More
16 years 7 months ago #2242 by David Monfort
Replied by David Monfort on topic Re:Code_saturne 1.4b released!
Indeed, these libraries can be a real pain to install! You might want to try the install script provided on the Code_Saturne download page. It should handle the installation of these libraries correctly (at least on usual systems).

A small remark besides. These libraries are not mandatory for a basic Code_Saturne simulation. You will need HDF5/MED if you need to read mesh files in MED format, and OpenMPI is only needed to run parallel simulation. Furthermore, I usually do not install a parallel HDF5 (MED does not handle parallel I/O yet IIRC) but only the serial version, so you do not need to compile it with OpenMPI support. And perhaps you could use pre-installed version of the libraries. The code is rather tolerant in terms of version (MED version >= 2.3 with HDF5 >= 1.6.4 -- depending on the version of MED -- and whichever MPI distribution should work).

Good luck anyway!
More
16 years 7 months ago #2243 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
Hi David - you're providing some very good hints here, I'll try them out later today and report back - especially MED and HDF5 is giving me grief - thanx! :) - edit: while I'm away till later, could you tell me which libs that works via apt-get repositories (you run a debian derivative right) thx :)

Post edited by: Claus, at: 2008/09/13 14:48<br /><br />Post edited by: Claus, at: 2008/09/13 17:45

Code_Aster release : STA11.4 on OpenSUSE 12.3 64 bits - EDF/Intel version
More
16 years 7 months ago #2244 by Claus
Replied by Claus on topic Re:Code_saturne 1.4b released!
I've run into this error when building ecs:

[code:1]root@claus-desktop:/opt/code_saturne/Enveloppe/ecs-1.4.a/src/appli# make cs_partition
/bin/bash ../../libtool --tag=CC --mode=link gcc -std=c99 -funsigned-char -pedantic -W -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wunused -Wfloat-equal -funroll-loops -O2 -Wuninitialized -march=i686 -rdynamic -O -L/opt/code_saturne/opt/bft-1.0.7/arch/Linux/lib -o cs_partition -lbft -lz
gcc -std=c99 -funsigned-char -pedantic -W -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wunused -Wfloat-equal -funroll-loops -O2 -Wuninitialized -march=i686 -rdynamic -O -o cs_partition -L/opt/code_saturne/opt/bft-1.0.7/arch/Linux/lib /opt/code_saturne/opt/bft-1.0.7/arch/Linux/lib/libbft.so -lz -Wl,--rpath -Wl,/opt/code_saturne/opt/bft-1.0.7/arch/Linux/lib -Wl,--rpath -Wl,/opt/code_saturne/opt/bft-1.0.7/arch/Linux/lib
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [cs_partition] Error 1
[/code:1]

cs_partition never gets build during the install script.

Otherwise I've managed to create and edit a case in SaturneGUI, but lack ecs to carry on.

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