pre-requisites and installation issues

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
haristipe

pre-requisites and installation issues

Post by haristipe »

Hello, i am a french student who is trying to install this software. First, i am not an expert user of linux so i use virtual box with ubuntu 12.04. So, i 've tried to install pre-requisites but it doesn't work. I've tried to download and install GNU compilers but it didn't work; it was the same for python. Thus, i hope some help from advising people who understand that i am a beginner and i don't really have any knowledge on linux.

Thanking you in advance, best regards,
DAGDAG Haris
Yvan Fournier
Posts: 4079
Joined: Mon Feb 20, 2012 3:25 pm

Re: pre-requisites and installation issues

Post by Yvan Fournier »

Hello,

Whatever difficulties you have, you will need to provide more details. Logs or copies of error messages are the most useful in general; your level of expertise will only help you be more precise. As a beginner, simply post all warnings an error messages you may have seen. This should provide enough detail to help you (but please read at least the first 3 pages of the installation manual ; it may save both you and us many iterations).

Using Ubuntu, you should install as many prerequisites as possible using the package manager, or one of it's graphical interfaces (Synaptic s a good choice).

Regards,

Yvan
haristipe

Re: pre-requisites and installation issues

Post by haristipe »

Hello, first, sorry for being so late but i had engineering contests.
I have ubuntu 14.10 with virtual box and i try to install code saturn 3.3.0.

For the issue, i try the following code :"../../code
saturne-3.3.0/configure" but i have the lines : checking for Fortran libraries of gfortran... -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -lgfortran -lm -lquadmath
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for xmlInitParser in -lxml2... no
configure: WARNING: no LIBXML2 support
checking for ESSL BLAS headers... no
checking for threaded MKL BLAS... no
checking for MKL BLAS... no
checking for threaded ATLAS BLAS... no
checking for ATLAS BLAS... no
checking for threaded ACML BLAS... no
checking for ACML BLAS... no
checking for legacy C BLAS... no
configure: WARNING: no BLAS support
checking for MPI (MPI compiler wrapper test)... no
checking mpi.h usability... no
checking mpi.h presence... no
checking for mpi.h... no
checking mpi.h usability... no
checking mpi.h presence... no
checking for mpi.h... no
checking for metis.h... no
configure: WARNING: METIS header not found or usable
checking for METIS_PartGraphKway in -lmetis... no
configure: WARNING: do not use METIS
checking for ptscotch.h... no
checking for ptscotch.h... no
checking scotch.h usability... no
checking scotch.h presence... no
checking for scotch.h... no
checking scotch.h usability... no
checking scotch.h presence... no
checking for scotch.h... no
checking for SCOTCH... configure: WARNING: no PT-SCOTCH/SCOTCH partitioner support
checking hdf5.h usability... no
checking hdf5.h presence... no
checking for hdf5.h... no
checking hdf5.h usability... no
checking hdf5.h presence... no
checking for hdf5.h... no
checking for H5Fopen in -lhdf5... no
configure: WARNING: no HDF5 file support
CGNS >= 3.1.0 headers not found
configure: WARNING: no CGNS file support
configure: WARNING: no hdf5 library found; will not search for MED
CCMIO headers not found
checking for Zlib... configure: WARNING: no gzipped file support
no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
configure: WARNING: no SALOME support
configure: checking for omniORB...
checking for omniidl... no
omniORB binaries not in PATH variable
for omniORBpy: no
for omniORB: no
unknown orb
configure: WARNING: no MEDCoupling support
configure: WARNING: no MEDCoupling support
checking for pdflatex... no
configure: WARNING: pdflatex not found
checking for bibtex... no
configure: WARNING: bibtex not found
checking for makeindex... no
configure: WARNING: makeindex not found
checking for fig2dev... no
configure: WARNING: fig2dev not found
checking for doxygen... no
configure: WARNING: doxygen not found
checking for sphinx-build... no
configure: WARNING: sphinx-build not found
checking for a Python interpreter with version >= "2.4"... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/dist-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
checking for PyQt4 version >= 4.3... yes
checking for pyuic4... no
checking for pyrcc4... no
configure: error: in `/home/michel':
configure: error: cannot find PyQt4 dev tools, Graphical User Interface cannot be installed
Then, when i write "make" and "make file", i have an other error message. I understand that i haven't some pre-requis but i don't know how to install PyQt4 dev tools and a graphical user interface.

Best regards

DAGDAG Haris
Last edited by haristipe on Fri May 15, 2015 12:43 pm, edited 1 time in total.
Yvan Fournier
Posts: 4079
Joined: Mon Feb 20, 2012 3:25 pm

Re: pre-requisites and installation issues

Post by Yvan Fournier »

Hello,

As I wrote in my previous post, use the Synaptic package manager in Ubuntu to install required packages, such as pyqt4-dev (it has a search function, so just search for pyqt4 to get a short list).

Regards,

Yvan
haristipe

Re: pre-requisites and installation issues

Post by haristipe »

hello, i understant but what is the Synaptic package manager?

regards

DAGDAG Haris
frpageot
Posts: 85
Joined: Wed Mar 21, 2012 1:10 pm

Re: pre-requisites and installation issues

Post by frpageot »

Fred
Xubuntu 16.04 / CS5.0
haristipe

Re: pre-requisites and installation issues

Post by haristipe »

Hello,

I tried to install the pre-requis and it seems to be working. Honwever, i have a strange code after typing "make" :
/bin/bash ../libtool --tag=FC --mode=compile gfortran -I../src -c -o spefun.lo `test -f '/home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90' || echo '/home/michel/Téléchargements/code_saturne-3.0.6/src/'`/home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90
libtool: compile: gfortran -I../src -c /home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90 -fPIC -o .libs/spefun.o
Warning: /home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90:151: Illegal preprocessor directive
Warning: /home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90:160: Illegal preprocessor directive
Warning: /home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90:169: Illegal preprocessor directive
/home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90:153.4:

1120 format ( &
1
/home/michel/Téléchargements/code_saturne-3.0.6/src/atmo/spefun.f90:162.5:

1120 format ( &
2
Error: Duplicate statement label 1120 at (1) and (2)
make[3]: *** [spefun.lo] Erreur 1
make[3]: quittant le répertoire « /home/michel/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/michel/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/michel »
make: *** [all] Erreur 2
michel@michel-VirtualBox:~$ make install
Making install in libple
make[1]: entrant dans le répertoire « /home/michel/libple »
Making install in src
make[2]: entrant dans le répertoire « /home/michel/libple/src »
make[3]: entrant dans le répertoire « /home/michel/libple/src »
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c libple.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libple.so.0.0.0 /usr/local/lib/libple.so.0.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libple.so.0.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Erreur 1
make[3]: quittant le répertoire « /home/michel/libple/src »
make[2]: *** [install-am] Erreur 2
make[2]: quittant le répertoire « /home/michel/libple/src »
make[1]: *** [install-recursive] Erreur 1
make[1]: quittant le répertoire « /home/michel/libple »
make: *** [install-recursive] Erreur 1
This is the end of the code and i don't understant the error.

Regards
DAGDAG Haris
Yvan Fournier
Posts: 4079
Joined: Mon Feb 20, 2012 3:25 pm

Re: pre-requisites and installation issues

Post by Yvan Fournier »

Hello,

For some reason, the gfortran arguments seem to be missing the "-x f95-cpp-input" which are automatically added so as to handle the pre-processing correctly and avoid the problem you have.

As per the forum recommendations, could you post your config.log (and config.status) files ?

Regards,

Yvan
haristipe

Re: pre-requisites and installation issues

Post by haristipe »

Hello,

Sorry but i don't know how to creat a log. i type config.log after try to install cs but i don't know if it's this : This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by code_saturne configure 3.0.6, which was
generated by GNU Autoconf 2.67. Invocation command line was

$ /home/michel/Téléchargements/code_saturne-3.0.6/configure

## --------- ##
## Platform. ##
## --------- ##
hostname = michel-VirtualBox
uname -m = i686
uname -r = 3.2.0-79-generic-pae
uname -s = Linux
uname -v = #115-Ubuntu SMP Thu Mar 12 14:33:25 UTC 2015

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown

And config.status:

#! /bin/bash
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
ac_cs_recheck=false
ac_cs_silent=false

SHELL=${CONFIG_SHELL-/bin/bash}
export SHELL
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##

# Be more Bourne compatible
DUALCASE=1; export DUALCASE # for MKS sh
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
NULLCMD=:
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
# is contrary to our usage. Disable this feature.

Regards
DAGDAG Haris
Yvan Fournier
Posts: 4079
Joined: Mon Feb 20, 2012 3:25 pm

Re: pre-requisites and installation issues

Post by Yvan Fournier »

Hello,

Please follow the installation guide recommendations and configure/build the code in a separate directory. You will need to start from a clean archive for this. The missing Fortran flags are probably not related, but this may avoid other issues.

Could you also redirect the output of configure to a file ?

For example, ../code_saturne-3.0.6/configure [options] > config_output.log 2>&1

Regards,

Yvan
Post Reply