Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2017-07-17 12:50:17

RichardS
Member
From: Munich, Germany
Registered: 2010-09-28
Posts: 520
Website

Homard prevents installation of 13.4 from aster-full package

Hi all,
I tried installing the new stable using the usual procedure with the full 14.3 package.
unfortunately compilation stops during Homard installation:

SetupError: inconsistent dependencies or missing variables
     Problem with : HOME_HOMARD

As I currently don't use Homard anyways, I could temporarily work around this by removing the CheckDepVal method in asSetup.py,
but this is definitely not a real solution?

Any idea why this error appears?

Best,
Richard


Richard Szoeke-Schuller
Product Development
www.simscale.com
Looking for talent: https://simscale-jobs.personio.de/

Offline

#2 2017-07-17 14:49:14

jeanpierreaubry
Ex-Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 2,954
Website

Re: Homard prevents installation of 13.4 from aster-full package

hello

RichardS wrote:

I tried installing the new stable using the usual procedure with the full 14.3 package.

i suppose you mean 13.4
unless you are able to travel into the future !

i am running in a similar issue here on SuSE 42.1
here an abstract of the msg

Installation of   : homard 11.7
  The HOMARD software carries out the adaptation of 2D/3D finite element or
  finite volume meshes by refinement and unrefinement techniques.
Archive filename  : homard-11.7
Destination       : /opt/aster134/public/homard-11.7
Working directory : /tmp/install_homard.5773
--------------------------------------------------------------------------------

Filling cache...                                                       [  OK  ]
Checking permissions...                                                [  OK  ]

>>> Extraction <<<

entering directory '/tmp/install_homard.5773'
Extracting homard-11.7-1.tar...                                        [  OK  ]
 --- 24 files extracted
leaving directory '/tmp/install_homard.5773'

>>> Installation <<<

entering directory '/tmp/install_homard.5773/homard-11.7'
Command line : /usr/bin/python setup_homard.py --prefix=/opt/aster134/public/homard-11.7
installing homard to /opt/aster134/public/homard-11.7...
Command output :

. Installation de l'excutable HOMARD

. Installation des procdures de couplage Code_Aster-HOMARD

L'installation est russie.

EXIT_COMMAND_5773_00000090=0
installing homard to /opt/aster134/public/homard-11.7...               [  OK  ]
leaving directory '/tmp/install_homard.5773/homard-11.7'

>>> Clean temporary objects <<<

entering directory '/tmp/install_homard.5773'
deleting /tmp/install_homard.5773/homard-11.7...                       [  OK  ]
deleting /tmp/install_homard.5773...
leaving directory '/tmp/install_homard.5773'
Filling cache...                                                       [  OK  ]

--------------------------------------------------------------------------------
Installation of homard 11.7 successfully completed
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Compiler variables for aster (set as environment variables):
export               CC='/usr/bin/gcc'
export           CFLAGS='-O2 -fno-stack-protector -fPIC'
export       CFLAGS_DBG='-g  -fno-stack-protector -fPIC'
export    CFLAGS_OPENMP='-fopenmp'
export              CXX='/usr/bin/g++'
export           CXXLIB='-L/usr/lib64/gcc/x86_64-suse-linux/4.8 -lstdc++'
export          DEFINED='LINUX64  _USE_OPENMP'
export              F90='/usr/bin/gfortran'
export         F90FLAGS='-O2 -fPIC'
export     F90FLAGS_DBG='-g  -fPIC'
export      F90FLAGS_I8=' -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8'
export  F90FLAGS_OPENMP=' -fopenmp'
export        FFLAGS_I8=' -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8'
export               LD='/usr/bin/gfortran'
export   LDFLAGS_OPENMP=' -fopenmp'
export          MATHLIB='-L/usr/lib64 -llapack -L/usr/lib64 -lblas'
export         OTHERLIB='-L/usr/lib64 -lpthread -L/usr/lib64 -lz'

# Environment settings :


--------------------------------------------------------------------------------
Checking for dependencies and required variables for 'aster'...
     HOME_HOMARD is required by 'aster'
                                                                       [FAILED]
Exit code : 1


Exception raised. See 'setup.log' file for details.

??????
jean pierre aubry

Offline

#3 2017-07-17 18:03:50

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 115

Re: Homard prevents installation of 13.4 from aster-full package

I get exactly the same error as reported by jeanpierreaubry

Offline

#4 2017-07-17 21:47:39

AsterO'dactyle
Administrator
Registered: 2007-11-29
Posts: 128

Re: Homard prevents installation of 13.4 from aster-full package

Hello,

Same problem here (Ubuntu 16.04)

To disallow HOMARD (for the moment, the master of installation is on holidays):

_install_homard = False
HOME_HOMARD = ''

In setup.cfg.


Code_Asterの開発者

Offline

#5 2017-07-20 00:39:17

Jan Goebel
Member
From: Mannheim
Registered: 2016-04-02
Posts: 28
Website

Re: Homard prevents installation of 13.4 from aster-full package

Hello Everyone,

I'm facing the same issue on Ubuntu 16.04, but going through the setup.log I can also find another issue while compiling mumps:

compiling mumps...                                                     [FAILED]

and scrolling further downwards:

make[1]: Verzeichnis „/tmp/install_mumps.28792/mumps-5.1.1“ wird verlassen
Makefile:20: die Regel für Ziel „z“ scheiterte
EXIT_COMMAND_28792_00000143=1

 *** Exception raised : error during compilation

>>> Configuration <<<

entering directory '/tmp/install_mumps.28792/mumps-5.1.1'
Setting HOME_MUMPS=
leaving directory '/tmp/install_mumps.28792/mumps-5.1.1'

Maybe there's a dependency between those two errors ?
Has anyone the same problems ?

kind regards,

Jan

Offline

#6 2017-07-20 08:03:57

RichardS
Member
From: Munich, Germany
Registered: 2010-09-28
Posts: 520
Website

Re: Homard prevents installation of 13.4 from aster-full package

Hello Jan,
most likely they are totally unrelated.attach the setup Most of the time when MUMPS compilation fails I it an issue with math libraries or similar.
Could you the setup.log file? There should be more information what exactly failed.

For me MUMPS also failed initially, but the reason was with the math libraries. I had to use 'GNU_without_MATH' and directly link to the local BLAS installation - but I guess this was a rather specific error to my overall setup. An example for this is also present in the setup.cfg:

#PREFER_COMPILER='GNU_without_MATH'
#MATHLIB = '-L/opt/acml4.4.0/gfortran64/lib -lacml'

Best,
Richard

Last edited by RichardS (2017-07-20 08:06:06)


Richard Szoeke-Schuller
Product Development
www.simscale.com
Looking for talent: https://simscale-jobs.personio.de/

Offline

#7 2017-07-20 09:54:17

Jan Goebel
Member
From: Mannheim
Registered: 2016-04-02
Posts: 28
Website

Re: Homard prevents installation of 13.4 from aster-full package

Dear Richard,

thank you for your help. I'm trying to compile the package with intel compilers as suggested. It figures out that the libraries are located in /opt/intel/mkl/lib/intel64, but which ones do I have to link and how is the correct syntax ?

Thank you,

Jan

Offline

#8 2017-07-20 10:08:34

RichardS
Member
From: Munich, Germany
Registered: 2010-09-28
Posts: 520
Website

Re: Homard prevents installation of 13.4 from aster-full package

HI, I am not sure about the specific libs,
you should be able to find some info in the forum searching for "Interl" or "MKL".

Perhaps sth. like this:

PREFER_COMPILER='INTEL_without_MATH'
MATHLIB = '-L/opt/intel/mkl/lib/intel64/lib -lmkl_core -lmkl_intel_lp64 -lmkl_sequential -lmkl_blacs_lp64

Best,
Richard

Last edited by RichardS (2017-07-20 10:14:33)


Richard Szoeke-Schuller
Product Development
www.simscale.com
Looking for talent: https://simscale-jobs.personio.de/

Offline

#9 2017-07-20 12:35:39

sanchez
Member
Registered: 2017-07-20
Posts: 5

Re: Homard prevents installation of 13.4 from aster-full package

Jan Goebel wrote:

Hello Everyone,

I'm facing the same issue on Ubuntu 16.04, but going through the setup.log I can also find another issue while compiling mumps:

compiling mumps...                                                     [FAILED]

and scrolling further downwards:

make[1]: Verzeichnis „/tmp/install_mumps.28792/mumps-5.1.1“ wird verlassen
Makefile:20: die Regel für Ziel „z“ scheiterte
EXIT_COMMAND_28792_00000143=1

 *** Exception raised : error during compilation

>>> Configuration <<<

entering directory '/tmp/install_mumps.28792/mumps-5.1.1'
Setting HOME_MUMPS=
leaving directory '/tmp/install_mumps.28792/mumps-5.1.1'

Maybe there's a dependency between those two errors ?
Has anyone the same problems ?

kind regards,

Jan


You should try:

$ cd SRC
$ tar xvf mumps-5.1.1-aster.tar.gz
$ cd mumps-5.1.1/include
$ sed -i 's/DKEEP(130)/DKEEP(230)/' dmumps_struc.h
$ sed -i 's/DKEEP(130)/DKEEP(230)/' zmumps_struc.h
$ cd ../..
$ tar zcvf mumps-5.1.1.tar.gz mumps-5.1.1

Best,
Philippe

Offline

#10 2017-07-20 13:18:50

sanchez
Member
Registered: 2017-07-20
Posts: 5

Re: Homard prevents installation of 13.4 from aster-full package

jeanpierreaubry wrote:

hello

RichardS wrote:

I tried installing the new stable using the usual procedure with the full 14.3 package.

i suppose you mean 13.4
unless you are able to travel into the future !

i am running in a similar issue here on SuSE 42.1
here an abstract of the msg

Installation of   : homard 11.7
  The HOMARD software carries out the adaptation of 2D/3D finite element or
  finite volume meshes by refinement and unrefinement techniques.
Archive filename  : homard-11.7
Destination       : /opt/aster134/public/homard-11.7
Working directory : /tmp/install_homard.5773
--------------------------------------------------------------------------------

Filling cache...                                                       [  OK  ]
Checking permissions...                                                [  OK  ]

>>> Extraction <<<

entering directory '/tmp/install_homard.5773'
Extracting homard-11.7-1.tar...                                        [  OK  ]
 --- 24 files extracted
leaving directory '/tmp/install_homard.5773'

>>> Installation <<<

entering directory '/tmp/install_homard.5773/homard-11.7'
Command line : /usr/bin/python setup_homard.py --prefix=/opt/aster134/public/homard-11.7
installing homard to /opt/aster134/public/homard-11.7...
Command output :

. Installation de l'excutable HOMARD

. Installation des procdures de couplage Code_Aster-HOMARD

L'installation est russie.

EXIT_COMMAND_5773_00000090=0
installing homard to /opt/aster134/public/homard-11.7...               [  OK  ]
leaving directory '/tmp/install_homard.5773/homard-11.7'

>>> Clean temporary objects <<<

entering directory '/tmp/install_homard.5773'
deleting /tmp/install_homard.5773/homard-11.7...                       [  OK  ]
deleting /tmp/install_homard.5773...
leaving directory '/tmp/install_homard.5773'
Filling cache...                                                       [  OK  ]

--------------------------------------------------------------------------------
Installation of homard 11.7 successfully completed
--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
Compiler variables for aster (set as environment variables):
export               CC='/usr/bin/gcc'
export           CFLAGS='-O2 -fno-stack-protector -fPIC'
export       CFLAGS_DBG='-g  -fno-stack-protector -fPIC'
export    CFLAGS_OPENMP='-fopenmp'
export              CXX='/usr/bin/g++'
export           CXXLIB='-L/usr/lib64/gcc/x86_64-suse-linux/4.8 -lstdc++'
export          DEFINED='LINUX64  _USE_OPENMP'
export              F90='/usr/bin/gfortran'
export         F90FLAGS='-O2 -fPIC'
export     F90FLAGS_DBG='-g  -fPIC'
export      F90FLAGS_I8=' -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8'
export  F90FLAGS_OPENMP=' -fopenmp'
export        FFLAGS_I8=' -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8'
export               LD='/usr/bin/gfortran'
export   LDFLAGS_OPENMP=' -fopenmp'
export          MATHLIB='-L/usr/lib64 -llapack -L/usr/lib64 -lblas'
export         OTHERLIB='-L/usr/lib64 -lpthread -L/usr/lib64 -lz'

# Environment settings :


--------------------------------------------------------------------------------
Checking for dependencies and required variables for 'aster'...
     HOME_HOMARD is required by 'aster'
                                                                       [FAILED]
Exit code : 1


Exception raised. See 'setup.log' file for details.

??????
jean pierre aubry


You should try :

$ sed -i "830i\ \ \ \ \ \ set=['HOME_HOMARD',]" products.py

Best,
Philippe

Offline

#11 2017-07-20 14:53:57

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 115

Re: Homard prevents installation of 13.4 from aster-full package

sanchez wrote:

You should try :

$ sed -i "830i\ \ \ \ \ \ set=['HOME_HOMARD',]" products.py

Best,
Philippe

Now its time for med to fail. Attaching the setup.log.


Attachments:
setup.log, Size: 1.1 MiB, Downloads: 12

Offline

#12 2017-07-20 15:57:13

sanchez
Member
Registered: 2017-07-20
Posts: 5

Re: Homard prevents installation of 13.4 from aster-full package

dbpatankar wrote:

Now its time for med to fail. Attaching the setup.log.


med is ok with gcc-5.4.0

Offline

#13 2017-07-20 20:03:06

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 115

Re: Homard prevents installation of 13.4 from aster-full package

sanchez wrote:

[
med is ok with gcc-5.4.0

Thanks for the info. I am using fedora which has latest version of gcc which is gcc-6.3.1
Downgrading it to 5.4.0 might trouble me for other components of the system.

Offline

#14 2017-07-21 09:39:03

sanchez
Member
Registered: 2017-07-20
Posts: 5

Re: Homard prevents installation of 13.4 from aster-full package

dbpatankar wrote:
sanchez wrote:

[
med is ok with gcc-5.4.0

Thanks for the info. I am using fedora which has latest version of gcc which is gcc-6.3.1
Downgrading it to 5.4.0 might trouble me for other components of the system.


With gcc-6.3.1, you should try:

$ sed -i "s/export F77=\$F90;/export F77=\$F90; export CXXFLAGS='-std=gnu++98';/" products.py

Offline

#15 2017-07-23 00:01:45

dbpatankar
Member
From: Roorkee, Uttarakhand, India
Registered: 2010-05-22
Posts: 115

Re: Homard prevents installation of 13.4 from aster-full package

sanchez wrote:

With gcc-6.3.1, you should try:

$ sed -i "s/export F77=\$F90;/export F77=\$F90; export CXXFLAGS='-std=gnu++98';/" products.py
$ sed -i "830i\ \ \ \ \ \ set=['HOME_HOMARD',]" products.py

I confirm that use of above two commands solved my issue. However I would like to have homard with me. But I will carry on for the time being without it. Hope it gets the attention of concerned person.

Thanks for the help.

Offline

#16 2017-07-24 08:13:14

sanchez
Member
Registered: 2017-07-20
Posts: 5

Re: Homard prevents installation of 13.4 from aster-full package

dbpatankar wrote:

I confirm that use of above two commands solved my issue. However I would like to have homard with me. But I will carry on for the time being without it. Hope it gets the attention of concerned person.

Thanks for the help.

Homard should work. It works for me.

Offline

Board footer