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

You are not logged in.

#1 Re: Code_Aster development » [SOLVED] Fortran runtime error when compiling code_aster 14.3.16 » 2019-06-18 21:25:05

At some point there may be a conflict with Turkish character big "İ" which should be big "I", smaller one is "i".

AsterO'dactyle wrote:

Hello,

Quite Strange !
Fortran is NOT case-sensitive.
NEVER !

#2 Re: Code_Aster development » [SOLVED] Linking compiled code_aster source code to astk » 2019-06-18 15:51:49

I found that It is written at bitbucket, here is the solution,

  Add this development version in astk/as_run
Just add these lines in your ~/.astkrc/prefs file
(example with a sequential and a parallel versions):

vers : DEV:$HOME/dev/codeaster/install/std/share/aster
vers : DEV_MPI:$HOME/dev/codeaster/install/mpi/share/aster
Restart astk or refresh the configuration of the local server.
The added versions should appear in the versions scroll-list.

#3 Code_Aster development » [SOLVED] Linking compiled code_aster source code to astk » 2019-06-18 13:44:23

oncoskun
Replies: 1

I downloaded the code_aster 14.2 and then I compiled the code_aster 14.3.16 source code.

After sourcing profile.sh as_run --getversion returns with <INFO> Version development 14.2.0. I cannot also see the version 14.3.16 in astk.

How can I link the code_aster 14.3.16 to astk?

Thanks...

#4 Re: Code_Aster installation » [SOLVED] Code_aster installation on Ubuntu 18.04 » 2019-06-17 22:15:58

I found the problems by the way.

The first problem is Anaconda3 2018.12, one needs to delete inputs from ~/.bashrc.

The another problem is cmake, I think it is buggy and the version of the python is recognized as "2.7.15+",  and "+" gives an error. My solution was to install python 2.7.15 manually and alias it in ~/.bashrc. But with that numpy would be missing and what I did is tricky. I opened the terminal when ~/.bashrc has 2.7.15 defined, and then modified the ~/.bashrc to its original state with python-minimal, as I didn't close the terminal alias had stored the version as 2.7.15 although version 2.7.15+ was working backwards.

Thanks...

#5 Re: Code_Aster development » [SOLVED] Fortran runtime error when compiling code_aster 14.3.16 » 2019-06-17 22:07:09

I found the problem, *.f90 file "format type" causes a problem. Basically changing the format type solved the problem,

1000 format (4x,a8,3x,a16,3x,f12.2,3x,i12,3x,i12) replaced by

1000 format (4x,a8,3x,a16,3x,f12.2,3x,I12,3x,I12).

I have to correct all the files that is related to analysis type.

Does anybody have an idea about quick solution for all *.f90 files?

#6 Re: Code_Aster development » [SOLVED] Fortran runtime error when compiling code_aster 14.3.16 » 2019-06-17 20:30:30

I am trying to build code_aster from its source, but after %100 I get an error as given above.

I downloaded and installed code_aster 14.2 firstly without an error. Then downloaded latest version of code_aster from bitbucket as described.

#7 Code_Aster development » [SOLVED] Fortran runtime error when compiling code_aster 14.3.16 » 2019-06-17 11:34:04

oncoskun
Replies: 5

I have an error as given below.

Anybody has an idea what could be the reason?

checking environment... no found
executing: ./waf.engine install -p --out=build/std --jobs=4
Waf: Entering directory `/home/onur/Genel/code_aster_dev/codeaster/src/build/std/release'
[9364/9364][100%][/][================================================>][16.364s]
Waf: Leaving directory `/home/onur/Genel/code_aster_dev/codeaster/src/build/std/release'
+ build the elements catalog elem.1 using installed aster (from /home/onur/Genel/code_aster_dev/codeaster/src/build/std/release/catalo/cata_ele.ojb)
stdout: # ------------------------------------------------------------------------------------------
# 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()

# ------------------------------------------------------------------------------------------
Suppression du fichier: glob.1

Ces fichiers n'ont pas de sens lors d'un nouveau calcul (DEBUT).

  Ouverture en écriture du fichier ./vola.1

<INFO> Démarrage de l'exécution.
                                                                               
                                                                               
             -- CODE_ASTER -- VERSION : DÉVELOPPEMENT (unstable) --             
                                                                               
                     Version 14.3.16 modifiée le 14/06/2019                     
                   révision 8c04cae493cb - branche 'default'                   
                         Copyright EDF R&D 1991 - 2019                         
                                                                               
                    Exécution du : Mon Jun 17 12:29:05 2019                     
                            Nom de la machine : onur                           
                              Architecture : 64bit                             
                          Type de processeur : x86_64                           
Système d'exploitation : Linux-4.18.0-21-generic-x86_64-with-Ubuntu-18.04-bionic
                        Langue des messages : tr (UTF-8)                       
                                                                               
                           Version de Python : 3.6.8                           
                           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.3.1                       
                       Librairie MFront : non disponible                       
                     Version de la librairie MUMPS : 5.1.2                     
                        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 : 177.69 Mo                   
                  par les objets du jeu de commandes : 0.00 Mo                 
                 reste pour l'allocation dynamique : 3821.56 Mo                 
                Taille limite des fichiers d'échange : 48.00 Go                 
                                                                               

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

   
   !----------------------------------------------------!
   ! <I> <SUPERVIS_41>                                  !
   !                                                    !
   ! La version 14.3.16 a été modifiée par 2 révisions. !
   !----------------------------------------------------!
   
   
   !------------------------------------------------------------------------------------!
   ! <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

stderr: At line 107 of file /home/onur/Genel/code_aster_dev/codeaster/src/bibfor/cataelem/lecojb.F90 (unit = 4, file = 'fort.4')
Fortran runtime error: Unexpected element 'i' in format
(a5,a24,a6,a3,a8,i12,a8,i12,        a7,a2,a10,a8,a10,a8,        a8,i12,a6,i12)
                 ^

To run manually, use:
BINDIR="/home/onur/Genel/code_aster_dev/codeaster/install/std/bin"
LIBDIR="/home/onur/Genel/code_aster_dev/codeaster/install/std/lib"
PYTHONDIR="/home/onur/Genel/code_aster_dev/codeaster/install/std/lib/python3.6/site-packages"
export LD_LIBRARY_PATH="/home/onur/Genel/code_aster_dev/public/hdf5-1.8.14/lib:/home/onur/Genel/code_aster_dev/public/med-3.3.1/lib:/home/onur/Genel/code_aster_dev/public/mumps-5.1.2/lib:/home/onur/Genel/code_aster_dev/public/metis-5.1.0/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib:/home/onur/Genel/code_aster_dev/public/scotch-6.0.4/lib:/home/onur/Genel/code_aster_dev/public/hdf5-1.8.14/lib64:/home/onur/Genel/code_aster_dev/public/med-3.3.1/lib64:/home/onur/Genel/code_aster_dev/codeaster/install/std/lib:/home/onur/Genel/code_aster_dev/codeaster/install/std/lib/aster:/usr/local/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib"
export PYTHONPATH="/home/onur/Genel/code_aster_dev/codeaster/install/std/lib/aster:/home/onur/Genel/code_aster_dev/lib/python2.7/site-packages:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib/python2.7/site-packages:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib/python2.7/site-packages"
${BINDIR}/aster /home/onur/Genel/code_aster_dev/codeaster/install/std/lib/aster/Execution/E_SUPERV.py -commandes /home/onur/Genel/code_aster_dev/codeaster/src/build/std/release/fort.1 -memjeveux 500 -tpmax 120
Command 'LD_LIBRARY_PATH="/home/onur/Genel/code_aster_dev/public/hdf5-1.8.14/lib:/home/onur/Genel/code_aster_dev/public/med-3.3.1/lib:/home/onur/Genel/code_aster_dev/public/mumps-5.1.2/lib:/home/onur/Genel/code_aster_dev/public/metis-5.1.0/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib:/home/onur/Genel/code_aster_dev/public/scotch-6.0.4/lib:/home/onur/Genel/code_aster_dev/public/hdf5-1.8.14/lib64:/home/onur/Genel/code_aster_dev/public/med-3.3.1/lib64:/home/onur/Genel/code_aster_dev/codeaster/install/std/lib:/home/onur/Genel/code_aster_dev/codeaster/install/std/lib/aster:/usr/local/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib:/home/onur/Genel/code_aster_dev/public/tfel-3.1.1/lib" ${BINDIR}/aster /home/onur/Genel/code_aster_dev/codeaster/install/std/lib/aster/Execution/E_SUPERV.py -commandes /home/onur/Genel/code_aster_dev/codeaster/src/build/std/release/fort.1 -memjeveux 500 -tpmax 120' returned 2

#8 Re: Code_Aster installation » [SOLVED] Code_aster installation on Ubuntu 18.04 » 2019-06-16 16:12:44

Deleting the "Anaconda3 2018.12 installer" inputs from the ~/.bashrc and downgrading python to 2.7.15 solved the remaining problems.

But I have a problem at the compiling stage of tfel-3.1.1, and I couldnt understand why it occurs?

[  9%] Built target TFELUtilities
[  9%] Building CXX object bindings/python/tfel/CMakeFiles/py_tfel__tfel.dir/PhysicalConstants.o
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tmpnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7648: uyarı: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tempnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7595: uyarı: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /usr/local/lib/libpython2.7.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyFunction_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: son bağlama başarısız: Geçersiz değer
collect2: error: ld returned 1 exit status
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tmpnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7648: uyarı: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tempnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7595: uyarı: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /usr/local/lib/libpython2.7.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyFunction_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: son bağlama başarısız: Geçersiz değer
collect2: error: ld returned 1 exit status
bindings/python/std/CMakeFiles/py_std__stl_map.dir/build.make:96: recipe for target 'bindings/python/std/_stl_map.so' failed
make[2]: *** [bindings/python/std/_stl_map.so] Error 1
bindings/python/std/CMakeFiles/py_std__stl_pair.dir/build.make:96: recipe for target 'bindings/python/std/_stl_pair.so' failed
make[2]: *** [bindings/python/std/_stl_pair.so] Error 1
CMakeFiles/Makefile2:1177: recipe for target 'bindings/python/std/CMakeFiles/py_std__stl_map.dir/all' failed
make[1]: *** [bindings/python/std/CMakeFiles/py_std__stl_map.dir/all] Error 2
make[1]: *** Bitmemiş işler için bekliyor....
CMakeFiles/Makefile2:1214: recipe for target 'bindings/python/std/CMakeFiles/py_std__stl_pair.dir/all' failed
make[1]: *** [bindings/python/std/CMakeFiles/py_std__stl_pair.dir/all] Error 2
[  9%] Building CXX object bindings/python/tfel/CMakeFiles/py_tfel_material.dir/OutOfBoundsPolicy.o
[  9%] Building CXX object bindings/python/tfel/CMakeFiles/py_tfel_material.dir/CrystalStructure.o
[  9%] Linking CXX shared library libTFELNUMODIS.so
[  9%] Built target TFELNUMODIS
[  9%] Linking CXX shared module _stl_vector.so
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tmpnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7648: uyarı: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tempnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7595: uyarı: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /usr/local/lib/libpython2.7.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyFunction_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: son bağlama başarısız: Geçersiz değer
collect2: error: ld returned 1 exit status
bindings/python/std/CMakeFiles/py_std__stl_vector.dir/build.make:96: recipe for target 'bindings/python/std/_stl_vector.so' failed
make[2]: *** [bindings/python/std/_stl_vector.so] Error 1
CMakeFiles/Makefile2:1251: recipe for target 'bindings/python/std/CMakeFiles/py_std__stl_vector.dir/all' failed
make[1]: *** [bindings/python/std/CMakeFiles/py_std__stl_vector.dir/all] Error 2
[  9%] Linking CXX shared module _tfel.so
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tmpnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7648: uyarı: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tempnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7595: uyarı: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /usr/local/lib/libpython2.7.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyFunction_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: son bağlama başarısız: Geçersiz değer
collect2: error: ld returned 1 exit status
bindings/python/tfel/CMakeFiles/py_tfel__tfel.dir/build.make:122: recipe for target 'bindings/python/tfel/_tfel.so' failed
make[2]: *** [bindings/python/tfel/_tfel.so] Error 1
CMakeFiles/Makefile2:1430: recipe for target 'bindings/python/tfel/CMakeFiles/py_tfel__tfel.dir/all' failed
make[1]: *** [bindings/python/tfel/CMakeFiles/py_tfel__tfel.dir/all] Error 2
[  9%] Linking CXX shared module material.so
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tmpnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7648: uyarı: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/libpython2.7.a(posixmodule.o): `posix_tempnam' fonksiyonunda:
/home/onur/İndirilenler/Python-2.7.15/./Modules/posixmodule.c:7595: uyarı: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /usr/local/lib/libpython2.7.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyFunction_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: son bağlama başarısız: Geçersiz değer
collect2: error: ld returned 1 exit status
bindings/python/tfel/CMakeFiles/py_tfel_material.dir/build.make:174: recipe for target 'bindings/python/tfel/material.so' failed
make[2]: *** [bindings/python/tfel/material.so] Error 1
CMakeFiles/Makefile2:1393: recipe for target 'bindings/python/tfel/CMakeFiles/py_tfel_material.dir/all' failed
make[1]: *** [bindings/python/tfel/CMakeFiles/py_tfel_material.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
EXIT_COMMAND_25637_00000096=2

*** Exception raised : error during compilation

#9 Re: Code_Aster installation » [SOLVED] Code_aster installation on Ubuntu 18.04 » 2019-06-16 11:09:45

Anaconda environment with python 3 was causing some of the errors, here is the working solution,
*********************************
Create a new conda environment for Python 2

"conda create --name py2 python=2"

This will create a conda environment with Python 2.7.

Install Python 2 as a new conda environment as follows

"source activate python2"
**********************************
Unsolved errors are given below,

-- aster support enabled
-- cyrano support enabled
-- Could NOT find Gnuplot (missing: GNUPLOT_EXECUTABLE)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.15+")
-- found python          2.7.15+
-- python include path   /usr/include/python2.7
-- python libraries path /usr/lib/x86_64-linux-gnu
-- python library        python2.7
CMake Error at CMakeLists.txt:261 (find_package):
find_package called with invalid argument "2.7.15+"

-- Could NOT find Boost
-- Trying to find libboost_python
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   python
--   numpy
--   numpy found
-- Boost library python found (/usr/lib/x86_64-linux-gnu/libboost_python.so).
-- doxygen documentation is not enabled
-- Generation of the reference documentation disabled
-- Configuring incomplete, errors occurred!
See also "/tmp/install_tfel.27328/tfel-3.1.1/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/install_tfel.27328/tfel-3.1.1/build/CMakeFiles/CMakeError.log".
EXIT_COMMAND_27328_00000095=1

*** Exception raised : error during configure

--------------------------------------------------------------------------------
     SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------

Installation of   : hdf5 1.8.14
Destination       : /home/onur/code_aster_dev/public/hdf5-1.8.14
Elapsed time      : 84.78 s
                                                                      [  OK  ]
Installation of   : med 3.3.1
Destination       : /home/onur/code_aster_dev/public/med-3.3.1
Elapsed time      : 97.60 s
                                                                      [  OK  ]
Installation of   : gmsh 3.0.6
Destination       : /home/onur/code_aster_dev/public/gmsh-3.0.6-Linux
Elapsed time      : 0.70 s
                                                                      [  OK  ]
Installation of   : scotch 6.0.4
Destination       : /home/onur/code_aster_dev/public/scotch-6.0.4
Elapsed time      : 28.82 s
                                                                      [  OK  ]
Installation of   : astk 2018.0
Destination       : /home/onur/code_aster_dev/lib/python2.7/site-packages
Elapsed time      : 0.68 s
                                                                      [  OK  ]
Installation of   : metis 5.1.0
Destination       : /home/onur/code_aster_dev/public/metis-5.1.0
Elapsed time      : 31.12 s
                                                                      [  OK  ]
Installation of   : tfel 3.1.1
Destination       : /home/onur/code_aster_dev/public/tfel-3.1.1
Elapsed time      : 48.67 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : mumps 5.1.2
Destination       : /home/onur/code_aster_dev/public/mumps-5.1.2
Elapsed time      : 110.56 s
                                                                      [  OK  ]
Installation of   : homard 11.10
Destination       : /home/onur/code_aster_dev/public/homard-11.10
Elapsed time      : 2.19 s
                                                                      [  OK  ]
Installation of   : aster 14.2.0
Destination       : /home/onur/code_aster_dev
Elapsed time      : 13.43 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : Code_Aster + 10 of its prerequisites
Destination       : /home/onur/code_aster_dev
Elapsed time      : 437.51 s
                                                                      [  OK  ]

#10 Code_Aster installation » [SOLVED] Code_aster installation on Ubuntu 18.04 » 2019-06-16 02:56:48

oncoskun
Replies: 3

I am having difficulties when installing code_aster. I am not sure if it is because of cmake and python version.

Here is the summary of installation and I also added the log file in attachment.

Error 1

configure: error: in `/tmp/install_med.3232/med-3.3.1':
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
  ERROR!
  You probably have to install the development version of the Python package
  for your distribution.  The exact name of this package varies among them.
============================================================================

Error 2

CMake Error at CMakeLists.txt:261 (find_package):
find_package called with invalid argument "2.7.15+"

and

--------------------------------------------------------------------------------
     SUMMARY OF INSTALLATION
--------------------------------------------------------------------------------

Installation of   : hdf5 1.8.14
Destination       : /home/onur/code_aster_dev/public/hdf5-1.8.14
Elapsed time      : 86.39 s
                                                                      [  OK  ]
Installation of   : med 3.3.1
Destination       : /home/onur/code_aster_dev/public/med-3.3.1
Elapsed time      : 10.09 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : gmsh 3.0.6
Destination       : /home/onur/code_aster_dev/public/gmsh-3.0.6-Linux
Elapsed time      : 0.77 s
                                                                      [  OK  ]
Installation of   : scotch 6.0.4
Destination       : /home/onur/code_aster_dev/public/scotch-6.0.4
Elapsed time      : 30.21 s
                                                                      [  OK  ]
Installation of   : astk 2018.0
Destination       : /home/onur/code_aster_dev/lib/python2.7/site-packages
Elapsed time      : 0.76 s
                                                                      [  OK  ]
Installation of   : metis 5.1.0
Destination       : /home/onur/code_aster_dev/public/metis-5.1.0
Elapsed time      : 30.48 s
                                                                      [  OK  ]
Installation of   : tfel 3.1.1
Destination       : /home/onur/code_aster_dev/public/tfel-3.1.1
Elapsed time      : 48.95 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : mumps 5.1.2
Destination       : /home/onur/code_aster_dev/public/mumps-5.1.2
Elapsed time      : 0.80 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : homard 11.10
Destination       : /home/onur/code_aster_dev/public/homard-11.10
Elapsed time      : 2.25 s
                                                                      [  OK  ]
Installation of   : aster 14.2.0
Destination       : /home/onur/code_aster_dev
Elapsed time      : 13.92 s
                                                                     
*** Exception <class 'as_setup.SetupConfigureError'> raised : error during configure
See detailed traceback in the logfile
                                                                       [FAILED]
Exit code : 4
Installation of   : Code_Aster + 10 of its prerequisites
Destination       : /home/onur/code_aster_dev
Elapsed time      : 335.81 s
                                                                      [  OK  ]

#11 Re: Salome-Meca usage » DEFI_COMPOSITE inputs as FORMULE » 2019-06-13 10:01:45

Do you know what is the possible way to apply ORIENTATION as a FORMULE?

#12 Salome-Meca usage » DEFI_COMPOSITE inputs as FORMULE » 2019-06-13 01:17:11

oncoskun
Replies: 2

Hello,

I want to input laminate orientation as a function of X coordiantes given below,

theta = FORMULE(NOM_PARA='X',VALE='sin(X)')

laminate = DEFI_COMPOSITE(identifier=u'11:1',
                          COUCHE=(_F(EPAIS=h_ply,
                                     MATER=carbon,
                                     ORIENTATION=theta)

Is it possible to input a FORMULE directly in Salome-Meca, or what is the possible way to apply ORIENTATION as a FORMULE?

Thanks,

Board footer