Hello
I am trying to install code saturne 3.3.2.
when i type configure everything looks good but at the end i have the errors belows:
CGNS >= 3.1.0 headers not found
configure: WARNING: no CGNS file support
MED >= 3.0 headers not found
configure: error: in `/home/pc-13-001/Desktop/codes3.3.2/code_saturne-3.3.2':
configure: error: MED 2.3 headers found, but MED 3.0 or above is required.
If you do not need MED format support, you may use the --without-med configure option.
Otherwise, you need to provide a MED 3.0 library and development headers.
See `config.log' for more details
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$
Can you help me to solve the problem.
best regards
PROBLEM installing code saturne 3.3.2
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: PROBLEM installing code saturne 3.3.2
Hello,
Did you use the automatic installer ? In this case, could you post your original "setup" file ?
Otherwise, if you use the "manual" configuration, either you must install a more recent version of MED (important if you are using Salome) and tell Code_Saturne where to find it, or add --without-med to the "configure" options, as recommended by the error message.
In this case, asper the forum recommendations, you should post your "config.log" file (you may need to zip some files or rename the extension to ".txt" to post them, as the Forum infrastructure only allows some extensions).
Regards,
Yvan
Did you use the automatic installer ? In this case, could you post your original "setup" file ?
Otherwise, if you use the "manual" configuration, either you must install a more recent version of MED (important if you are using Salome) and tell Code_Saturne where to find it, or add --without-med to the "configure" options, as recommended by the error message.
In this case, asper the forum recommendations, you should post your "config.log" file (you may need to zip some files or rename the extension to ".txt" to post them, as the Forum infrastructure only allows some extensions).
Regards,
Yvan
Re: PROBLEM installing code saturne 3.3.2
at first i try to use the manual and then i obtain this error. So i try the automatic installer but that is not working neither.
Where can i find the config.log file
best regards
Where can i find the config.log file
best regards
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: PROBLEM installing code saturne 3.3.2
Hello,
According to your first message, it should be inside:
~/Desktop/codes3.3.2/code_saturne-3.3.2
If you tried the automatic installer, could you post your "setup" file as well ?
What meshing tool are you using ? You probably need either MED or CGNS,
but might not need both.
How (by who ?) was the old version 2.0.2 you used installed ? You probably have a MED 2.3 version related to that version, which is detected and causes issues, but you can avoid it by adding --without-med in the "configure" file. A cleaner solution when using multiple versions of the code would be to install both 2.0 and 3.x in "non-system" paths.
Regards,
Yvan
According to your first message, it should be inside:
~/Desktop/codes3.3.2/code_saturne-3.3.2
If you tried the automatic installer, could you post your "setup" file as well ?
What meshing tool are you using ? You probably need either MED or CGNS,
but might not need both.
How (by who ?) was the old version 2.0.2 you used installed ? You probably have a MED 2.3 version related to that version, which is detected and causes issues, but you can avoid it by adding --without-med in the "configure" file. A cleaner solution when using multiple versions of the code would be to install both 2.0 and 3.x in "non-system" paths.
Regards,
Yvan
Re: PROBLEM installing code saturne 3.3.2
hello
i use salome version 6 for geometry and mesh.
Please find the enclosed config.log file
what do you call the setup? when i double in install_saturne.py i obtain nothing i dont know where the problem should be
thank for your help.
i use salome version 6 for geometry and mesh.
Please find the enclosed config.log file
what do you call the setup? when i double in install_saturne.py i obtain nothing i dont know where the problem should be
thank for your help.
- Attachments
-
- config.log
- (163.89 KiB) Downloaded 256 times
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: PROBLEM installing code saturne 3.3.2
Hello,
To avoid the error in "configure", you must add the correct options, as I mentioned in my previous post (--with-med=<path_to_med_3_install>).
The automatic installer will do this for you, but double-clicking may not be enough:
you must "cd" in a terminal to the directory containing that file (code_saturne-3.3.2), the run "./install_saturne.py", and read the instructions (which will recommend a to re-run this from a different directory, named based on your own setup, and get you started).
You may also ask the person who installed the older version of the code on you machine to help you, if they are available.
Regards,
Yvan
To avoid the error in "configure", you must add the correct options, as I mentioned in my previous post (--with-med=<path_to_med_3_install>).
The automatic installer will do this for you, but double-clicking may not be enough:
you must "cd" in a terminal to the directory containing that file (code_saturne-3.3.2), the run "./install_saturne.py", and read the instructions (which will recommend a to re-run this from a different directory, named based on your own setup, and get you started).
You may also ask the person who installed the older version of the code on you machine to help you, if they are available.
Regards,
Yvan
Re: PROBLEM installing code saturne 3.3.2
Hello
thank for your replay
i try what you said but that is not working:
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$ ./configure --with-med=<path_to_med_3_install>
bash: Erreur de syntaxe près du symbole inattendu « newline »
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$
i am not very udes to linux
and i try the other method : pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$ run ./install_saturne.py
Commande « run » non trouvée, vouliez-vous dire :
La commande « zrun » issue du paquet « moreutils » (universe)
La commande « runq » issue du paquet « exim4-daemon-heavy » (main)
La commande « runq » issue du paquet « sendmail-bin » (universe)
La commande « runq » issue du paquet « exim4-daemon-light » (main)
La commande « grun » issue du paquet « grun » (universe)
La commande « qrun » issue du paquet « torque-client » (multiverse)
La commande « rn » issue du paquet « trn » (multiverse)
La commande « rn » issue du paquet « trn4 » (multiverse)
La commande « rup » issue du paquet « rstat-client » (universe)
La commande « srun » issue du paquet « slurm-llnl » (universe)
run : commande introuvable
am i mistaking some where?
best regards
thank for your replay
i try what you said but that is not working:
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$ ./configure --with-med=<path_to_med_3_install>
bash: Erreur de syntaxe près du symbole inattendu « newline »
pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$
i am not very udes to linux
and i try the other method : pc-13-001@pc-13-001:~/Desktop/codes3.3.2/code_saturne-3.3.2$ run ./install_saturne.py
Commande « run » non trouvée, vouliez-vous dire :
La commande « zrun » issue du paquet « moreutils » (universe)
La commande « runq » issue du paquet « exim4-daemon-heavy » (main)
La commande « runq » issue du paquet « sendmail-bin » (universe)
La commande « runq » issue du paquet « exim4-daemon-light » (main)
La commande « grun » issue du paquet « grun » (universe)
La commande « qrun » issue du paquet « torque-client » (multiverse)
La commande « rn » issue du paquet « trn » (multiverse)
La commande « rn » issue du paquet « trn4 » (multiverse)
La commande « rup » issue du paquet « rstat-client » (universe)
La commande « srun » issue du paquet « slurm-llnl » (universe)
run : commande introuvable
am i mistaking some where?
best regards
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: PROBLEM installing code saturne 3.3.2
Hello,
There is no "run" command ; simply type:
If you are not familiar with Linux, I recommend getting local help from someone who is.
It will save you a lot of time (if you are the only one using Linux at you site, it will
be more difficult).
Regards,
Yvan
There is no "run" command ; simply type:
Then follow the instructions.mkdir ~/Desktop/codes3.3.2/code_saturne-3.3.2_build
cd ~/Desktop/codes3.3.2/code_saturne-3.3.2_build
~/Desktop/codes3.3.2/code_saturne-3.3.2/install_saturne.py
If you are not familiar with Linux, I recommend getting local help from someone who is.
It will save you a lot of time (if you are the only one using Linux at you site, it will
be more difficult).
Regards,
Yvan
Re: PROBLEM installing code saturne 3.3.2
Hello Yvan
I tried to follow your recommendation and this is what i obtain
do i have to move those files somewhere.
can you please give me the directives
Thanks for your help
Best regards
I tried to follow your recommendation and this is what i obtain
i dont understand what can be the problem now i download the version 3.0.7 of med and also the good version of hdf but it can not be found when i try the install_saturne .pyInstallation of Code_Saturne
____________________________
The process will take several minutes.
You can have a look at the log file meanwhile.
Check the setup file and some utilities presence.
o Checking for cc... /usr/bin/cc
o Checking for mpicc... /usr/bin/mpicc
o Checking for f95... /usr/bin/f95
o Checking for python... /usr/bin/python
Python version is 2.6
o Checking for make... /usr/bin/make
HDF5 (Hierarchical Data Format)
version: 1.8.10
url: http://www.hdfgroup.org/ftp/HDF5/releas ... .10.tar.gz
package: hdf5
source_dir: None
install_dir: /usr
config_opts: --enable-production
CGNS (CFD General Notation System)
version: 3.2.1
url: http://sourceforge.net/projects/cgns/fi ... z/download
package: cgnslib
source_dir: None
install_dir: None
config_opts: -DCGNS_ENABLE_64BIT=ON -DCGNS_ENABLE_SCOPING=ON -DCGNS_ENABLE_HDF5=ON -DHDF5_INCLUDE_PATH=/usr/include -DHDF5_LIBRARY=/usr/lib/libhdf5.so
MED (Model for Exchange of Data)
version: 3.0.7
url: http://files.salome-platform.org/Salome ... 0.7.tar.gz
package: med
source_dir: None
install_dir: /usr
config_opts: --with-med_int=int --disable-fortran --with-hdf5=/usr
Extract of MED
Traceback (most recent call last):
File "/home/pc-13-001/Desktop/codes3.3.2/code_saturne-3.3.2/install_saturne.py", line 1410, in <module>
setup.install()
File "/home/pc-13-001/Desktop/codes3.3.2/code_saturne-3.3.2/install_saturne.py", line 1150, in install
p.extract()
File "/home/pc-13-001/Desktop/codes3.3.2/code_saturne-3.3.2/install_saturne.py", line 276, in extract
if not tarfile.is_tarfile(self.archive):
File "/usr/lib/python2.6/tarfile.py", line 2529, in is_tarfile
t = open(name)
File "/usr/lib/python2.6/tarfile.py", line 1653, in open
return func(name, "r", fileobj, **kwargs)
File "/usr/lib/python2.6/tarfile.py", line 1715, in gzopen
fileobj = bltn_open(name, mode + "b")
IOError: [Errno 2] No such file or directory: 'med-3.0.7.tar.gz'
do i have to move those files somewhere.
can you please give me the directives
Thanks for your help
Best regards
-
- Posts: 4077
- Joined: Mon Feb 20, 2012 3:25 pm
Re: PROBLEM installing code saturne 3.3.2
Hello,
What do you have in your "setup" file ? Did you leave download = yes ?.
It will be easier to check if you post that file or its full contents.
Regards,
Yvan
What do you have in your "setup" file ? Did you leave download = yes ?.
It will be easier to check if you post that file or its full contents.
Regards,
Yvan