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

You are not logged in.

#1 2018-04-04 14:50:14

katoulos
Member
Registered: 2011-06-10
Posts: 71

compilation [ifort] error during installation

Hi all

I am trying to build CdA 13.4 using the Intel compilers. The build of aster fails due to compilation errors
The following routines developed problems:
[1] bibfor/echange/yacs_module.F90
[2] bibfor/echange/yacsnl_module.F90
[3] bibfor/echange/lub_module.F90

/home/opt-relief/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort   -fPIC   -fpe0   -traceback   -i8   -r8   -warn   interfaces   -nogen-interfaces   -O2   -fopenmp   -I/opt/aster_I/public/hdf5-1.8.14/include   -I/opt/aster_I/public/med-3.2.1/include   -I/include   -I/include_seq   -I/opt/aster_I/public/metis-5.1.0/include   -I/opt/aster_I/public/scotch-6.0.4/include   -I/opt/aster_I/public/mfront-3.0.0/include   -I/tmp/install_aster.21780/aster-13.4.0/bibc/include   -I/tmp/install_aster.21780/aster-13.4.0/bibcxx/include   -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include   -I/tmp/install_aster.21780/aster-13.4.0/bibcxx   -I/tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/include   -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include   -I/tmp/install_aster.21780/aster-13.4.0/build/release   -I/home/opt-relief/aster/public/mfront-3.0.0/include   -D_USE_INTEL_IFORT   -DHAVE_MFRONT=1   -DTFEL_ARCH64   -DNO_RUNTIME_CHECK_BOUNDS   -DNDEBUG   -DASTER_ARCH=64   -c   -o   /tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/echange/yacs_module.F90.1.o   /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacs_module.F90
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacs_module.F90(246): error #6562: A data initialization-expr is not valid for this object.   [CURRENT]
           type(port), pointer, intent(out), optional :: current =>null()
---------------------------------------------------------^
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacs_module.F90(309): error #6562: A data initialization-expr is not valid for this object.   [BACKELE]
            type(port), pointer, intent(out) :: backele => null()
------------------------------------------------^
compilation aborted for /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacs_module.F90 (code 1)
/home/opt-relief/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort    -fPIC    -fpe0    -traceback    -i8    -r8    -warn    interfaces    -nogen-interfaces    -O2    -fopenmp    -I/opt/aster_I/public/hdf5-1.8.14/include    -I/opt/aster_I/public/med-3.2.1/include    -I/include    -I/include_seq    -I/opt/aster_I/public/metis-5.1.0/include    -I/opt/aster_I/public/scotch-6.0.4/include    -I/opt/aster_I/public/mfront-3.0.0/include    -I/tmp/install_aster.21780/aster-13.4.0/bibc/include    -I/tmp/install_aster.21780/aster-13.4.0/bibcxx/include    -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/bibcxx    -I/tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/build/release    -D_USE_INTEL_IFORT    -c    -o    /tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/echange/yacsnl_module.F90.1.o    /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacsnl_module.F90
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacsnl_module.F90(176): error #6562: A data initialization-expr is not valid for this object.   [BACKELE]
            type(trandata), pointer, intent(out) :: backele => null()
----------------------------------------------------^
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacsnl_module.F90(197): error #6562: A data initialization-expr is not valid for this object.   [CURRENT]
            type(trandata), pointer, intent (out), optional :: current => null()
---------------------------------------------------------------^
compilation aborted for /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/yacsnl_module.F90 (code 1)
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ /home/opt-relief/intel/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort    -fPIC    -fpe0    -traceback    -i8    -r8    -warn    interfaces    -nogen-interfaces    -O2    -fopenmp    -I/opt/aster_I/public/hdf5-1.8.14/include    -I/opt/aster_I/public/med-3.2.1/include    -I/include    -I/include_seq    -I/opt/aster_I/public/metis-5.1.0/include    -I/opt/aster_I/public/scotch-6.0.4/include    -I/opt/aster_I/public/mfront-3.0.0/include    -I/tmp/install_aster.21780/aster-13.4.0/bibc/include    -I/tmp/install_aster.21780/aster-13.4.0/bibcxx/include    -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/bibcxx    -I/tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/bibfor/include    -I/tmp/install_aster.21780/aster-13.4.0/build/release    -D_USE_INTEL_IFORT    -c    -o    /tmp/install_aster.21780/aster-13.4.0/build/release/bibfor/echange/lub_module.F90.1.o    /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/lub_module.F90
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/lub_module.F90(133): error #6562: A data initialization-expr is not valid for this object.   [BACKELE]
            type(bearing), pointer, intent(out) :: backele => null()
---------------------------------------------------^
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/lub_module.F90(253): error #6562: A data initialization-expr is not valid for this object.   [CURRENT]
            type(bearing), pointer, intent (out), optional :: current => null()
--------------------------------------------------------------^
/tmp/install_aster.21780/aster-13.4.0/bibfor/echange/lub_module.F90(283): error #6562: A data initialization-expr is not valid for this object.   [FBEARING]
           type(bearing), pointer, intent(out) :: fbearing => null()
--------------------------------------------------^
compilation aborted for /tmp/install_aster.21780/aster-13.4.0/bibfor/echange/lub_module.F90 (code 1)

removing the "=> null()" string from the offending lines made compilation step possible

I am however unaware of the side effects of such an intervention

mimis

Offline

#2 2018-04-04 14:53:51

katoulos
Member
Registered: 2011-06-10
Posts: 71

Re: compilation [ifort] error during installation

And, the sequel is that the building of elements catalogue failed :

mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ BINDIR="/opt/aster_I/13.4/bin"
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ LIBDIR="/opt/aster_I/13.4/lib64"
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ PYTHONDIR="/opt/aster_I/13.4/lib/python2.7/site-packages"
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ export LD_LIBRARY_PATH="/opt/aster_I/public/hdf5-1.8.14/lib:/opt/aster_I/public/med-3.2.1/lib:/lib:/opt/aster_I/public/metis-5.1.0/lib:/opt/aster_I/public/mfront-3.0.0/lib:/opt/aster_I/public/scotch-6.0.4/lib:/opt/aster_I/public/hdf5-1.8.14/lib64:/opt/aster_I/public/med-3.2.1/lib64:/opt/aster_I/13.4/lib64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/mpi/mic/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/ipp/lib/intel64:/opt/intel/compilers_and_libraries_2018.1.163/linux/compiler/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/mkl/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/compilers_and_libraries_2018.1.163/linux/tbb/lib/intel64/gcc4.7:/opt/intel/debugger_2018/iga/lib:/opt/intel/debugger_2018/libipt/intel64/lib:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/lib/intel64_lin:/opt/intel/compilers_and_libraries_2018.1.163/linux/daal/../tbb/lib/intel64_lin/gcc4.4::/usr/lib64/mpi/gcc/openmpi/lib64/:/usr/lib64/mpi/gcc/openmpi/lib64/"
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ export PYTHONPATH="/opt/aster_I/13.4/lib64/aster:/home/mimis/dev/codeaster/devtools/lib:/home/mimis/dev/codeaster/devtools/lib:/home/mimis/dev/codeaster/devtools/lib:"
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ ${BINDIR}/aster /opt/aster_I/13.4/lib64/aster/Execution/E_SUPERV.py -commandes /tmp/install_aster.21780/aster-13.4.0/build/release/fort.1 -memjeveux 500 -tpmax 120
# ------------------------------------------------------------------------------------------
# Impression du contenu du fichier de commandes à exécuter :
# ------------------------------------------------------------------------------------------
DEBUT(CATALOGUE=_F(FICHIER='CATAELEM', UNITE=4), 
      ERREUR=_F(ERREUR_F='ABORT'), PAR_LOT='NON')
MAJ_CATA(ELEMENT=_F())
FIN()

# ------------------------------------------------------------------------------------------

  Ouverture en écriture du fichier ./vola.1
                                                                                
                                                                                
              -- CODE_ASTER -- VERSION : EXPLOITATION (stable) --               
                                                                                
                     Version 13.4.0 modifiée le 29/06/2017                      
                     révision 503b50e0ecda - branche 'v13'                      
                         Copyright EDF R&D 1991 - 2018                          
                                                                                
                    Exécution du : Wed Apr  4 16:45:53 2018                     
                          Nom de la machine : goldberg                          
                              Architecture : 64bit                              
                          Type de processeur : x86_64                           
   Système d'exploitation : Linux openSUSE  42.2 x86_64 4.4.104-18.44-default   
                        Langue des messages : en (UTF-8)                        
                                                                                
                           Version de Python : 2.7.13                           
                           Version de NumPy : 1.13.3                            
                           Parallélisme MPI : inactif                           
                          Parallélisme OpenMP : actif                           
                        Nombre de processus utilisés : 1                        
                     Version de la librairie HDF5 : 1.8.14                      
                      Version de la librairie MED : 3.2.1                       
                       Librairie MFront : non disponible                        
                        Librairie MUMPS : non disponible                        
                        Librairie PETSc : non disponible                        
                     Version de la librairie SCOTCH : 6.0.4                     

                  Mémoire limite pour l'exécution : 4000.00 Mo                  
                   consommée par l'initialisation : 298.85 Mo                   
                  par les objets du jeu de commandes : 0.00 Mo                  
                 reste pour l'allocation dynamique : 3699.88 Mo                 
                Taille limite des fichiers d'échange : 12.00 Go                 
                                                                                

  # ------------------------------------------------------------------------------------------
  # Commande No :  0001            Concept de type : -
  # ------------------------------------------------------------------------------------------
  DEBUT(PAR_LOT='NON',
        CATALOGUE=_F(FICHIER='CATAELEM',
                     UNITE=4,),
        ERREUR=_F(ERREUR_F='ABORT',),
        INFO=1,
        IMPR_MACRO='NON',
        DEBUG=_F(JEVEUX='NON',
                 JXVERI='NON',
                 HIST_ETAPE='NON',
                 SDVERI='NON',),
        MEMOIRE=_F(TAILLE_BLOC=800.0,
                   TAILLE_GROUP_ELEM=1000,),
        RESERVE_CPU=_F(BORNE=900,),
        MESURE_TEMPS=_F(MOYENNE='NON',
                        NIVE_DETAIL=1,),
        )

   
   !------------------------------------------------------------------------------------!
   ! <A> <SUPERVIS_1>                                                                   !
   !                                                                                    !
   !  L'utilisation du mot-clé PAR_LOT='NON' permet d'accéder en lecture et en écriture !
   !  au contenu des concepts Aster. De ce fait, votre étude est exclue du périmètre    !
   !  qualifié de Code_Aster puisque toutes ses étapes ne peuvent être certifiées.      !
   !                                                                                    !
   !  Conseils :                                                                        !
   !    - Il n'y a pas particulièrement de risque de résultat faux... sauf si votre     !
   !      programmation l'introduit.                                                    !
   !    - Distinguez le calcul lui-même (qui doit sans doute passer en PAR_LOT='OUI')   !
   !      des post-traitements (qui nécessiteraient le mode PAR_LOT='NON') qui peuvent  !
   !      être réalisés en POURSUITE.                                                   !
   !                                                                                    !
   !                                                                                    !
   ! Ceci est une alarme. Si vous ne comprenez pas le sens de cette                     !
   ! alarme, vous pouvez obtenir des résultats inattendus !                             !
   !------------------------------------------------------------------------------------!
   

  Valeur initiale du temps CPU maximum =   120 secondes
  Valeur du temps CPU maximum passé aux commandes =   108 secondes
  Réserve CPU prévue = 12 secondes

  Ouverture en écriture du fichier ./glob.1

  Ouverture en écriture du fichier ./vola.1
forrtl: No such file or directory
forrtl: severe (29): file not found, unit 4, file /tmp/install_aster.21780/aster-13.4.0/fort.4
Image              PC                Routine            Line        Source             
libifcoremt.so.5   00007FFA6D6311C2  for__io_return        Unknown  Unknown
libifcoremt.so.5   00007FFA6D670820  for_read_seq_fmt      Unknown  Unknown
aster              0000000000DE895B  lecojb_                    56  lecojb.F90
aster              0000000000DE7DBC  lccata_                    35  lccata.F90
aster              0000000000DE7967  ibcatc_                    33  ibcatc.F90
aster              00000000018E25E5  ibcata_                   107  ibcata.F90
aster              00000000018DE8FE  debut_                    103  debut.F90
aster              00000000004BBFB8  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A37D949  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A32B66E  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A38048E  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A32B66E  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A31B5DE  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A3C06B5  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A37D096  PyEval_CallObject     Unknown  Unknown
libpython2.7.so.1  00007FFA6A2F8FEA  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A37D949  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38274C  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38274C  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38274C  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38274C  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A32B66E  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A31B5DE  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A3C06B5  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A382537  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A3DD252  PyEval_EvalCode       Unknown  Unknown
libpython2.7.so.1  00007FFA6A381D84  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A382F50  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A32B66E  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A38048E  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A32B66E  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A314986  PyObject_Call         Unknown  Unknown
libpython2.7.so.1  00007FFA6A38048E  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A382F50  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A382A19  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38274C  PyEval_EvalFrameE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A38830C  PyEval_EvalCodeEx     Unknown  Unknown
libpython2.7.so.1  00007FFA6A3DD252  PyEval_EvalCode       Unknown  Unknown
libpython2.7.so.1  00007FFA6A3E348B  Unknown               Unknown  Unknown
libpython2.7.so.1  00007FFA6A2FDF53  PyRun_FileExFlags     Unknown  Unknown
libpython2.7.so.1  00007FFA6A2FEB21  PyRun_SimpleFileE     Unknown  Unknown
libpython2.7.so.1  00007FFA6A304399  Py_Main               Unknown  Unknown
libc-2.22.so       00007FFA695B86D5  __libc_start_main     Unknown  Unknown
aster              00000000004B1529  Unknown               Unknown  Unknown
mimis@goldberg:/tmp/install_aster.21780/aster-13.4.0$ 

mimis

Offline

#3 2018-04-08 14:34:57

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: compilation [ifort] error during installation

Hello,

Thanks for reporting that.

We have observed these problems with Intel compilers 2018 and haven't identified a fix yet. For now, the workaround is unfortunately to switch back to 2017 version or use GCC.

TdS

Offline

#4 2018-06-13 22:03:44

terje
Member
From: Newbury Park, CA
Registered: 2012-01-13
Posts: 31

Re: compilation [ifort] error during installation

Greetings all,

It appears this particular issue might have been resolved in the current update...

parallel_studio_xe_2018_update3_professional_edition

I was successful in compiling these files without the error # 6562 as shown in the original post.

I am working my way through resolving a different issue with the Mumps library with the current intel compilers.
I will post later this week with a description of the problem, and either a plea for help, or a description of how I resolved it.

kind regards,

terje


The sooner you fall behind, the more time you will have to catch up.
Stenderup's Law

Offline

#5 2018-06-18 22:57:52

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: compilation [ifort] error during installation

Dear terje,

Thank you for the update. Note that if you were compiling the default branch, we have fixed the source code recently to prevent the error.
For now, we’re still observing on our side an error at the stage where the finite elements database is being built, with the same output as reported by [user]katoulos[/user] above.

TdS

Offline

Board footer