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

You are not logged in.

#1 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » Today 07:15:33

Hello Fernando,

Yes you are right asrun is folder and it do exist in /opt/aster/lib/python3.6/site-packages/asrun

exportPath is not reading in my computer.

I Tried to Install CA Parallel on my Laptop, It Accepted asrun but AS HYPRE  IS INSTALLED MANUALLY the last step $ ./waf install -p --jobs=1 FAILED to Install and it has All Hypre Errors.

So, Some Expert from CA can Fix the Original Script with New Hypre Installation Address.

#2 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-18 07:29:39

waiting for reply.

Request CA Developers to include Petsc as available in standard Download of CA new version. Contact problems require Petsc.

#4 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-16 15:06:07

hypre manually added...

but have further problem

asrun not read...error as under.

Checking measure of VmSize during MPI_Init : ok 
Checking for library pthread             : yes
Checking for library dl                  : yes
Checking for library util                : yes
Checking for program 'python'            : /usr/bin/python3
Checking for python version >= 3.5.0     : 3.6.9
python-config                            : /usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes
Testing pyembed configuration            : yes
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration              : yes
Checking for numpy                       : /home/sameer/.local/lib/python3.6/site-packages/numpy/__init__.py
Checking for numpy version               : 1.19.2
Checking for numpy include               : ['/home/sameer/.local/lib/python3.6/site-packages/numpy/core/include']
Checking for asrun                       : Could not find the python module 'asrun'
(complete log in /home/sameer/Install_Files/aster-full-src-14.4.0/SRC/aster-14.4.0/build/std/config.log)




#include <Python.h>
#include <numpy/arrayobject.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] Compiling [32mbuild/std/.conf_check_d1e8da006504a519a3971608c01ca992/test.cpp[0m

['mpicxx', '-g', '-fdebug-prefix-map=/build/python3.6-npOuKa/python3.6-3.6.9=.', '-fstack-protector', '-g', '-fwrapv', '-O3', '-I../../../../../../../../../.local/lib/python3.6/site-packages/numpy/core/include', '-I/opt/petsc-3.9.4/linux-metis-mumps/include', '-I/opt/petsc-3.9.4/include', '-I/ usr / include / superlu', '-I/opt/parmetis-4.0.3/include', '-I/opt/mumps-5.1.2_mob/include', '-I/opt/aster/public/hdf5-1.10.3/include', '-I/opt/aster/public/med-4.0.0/include', '-I/opt/aster/public/metis-5.1.0/include', '-I/opt/scotch-6.0.4/include', '-I/opt/scalapack-n/include', '-I/opt/OpenBLAS/include', '-I/usr/include/python3.6m', '-DHAVE_MPI=1', '-D_USE_MPI=1', '-D_USE_OPENMP=1', '-DENABLE_PROC_STATUS=1', '-DPYTHONDIR="/opt/aster/PAR14.4MUPT/lib/python3.6/site-packages"', '-DPYTHONARCHDIR="/opt/aster/PAR14.4MUPT/lib/python3.6/site-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DNPY_NO_PREFIX', '-DNDEBUG', '../../test.cpp', '-c', '-o/home/sameer/Install_Files/aster-full-src-14.4.0/SRC/aster-14.4.0/build/std/.conf_check_d1e8da006504a519a3971608c01ca992/testbuild/release/test.cpp.1.o']
err: In file included from ../../../../../../../../../.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
                 from ../../../../../../../../../.local/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                 from ../../../../../../../../../.local/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4,
                 from ../../test.cpp:2:
../../../../../../../../../.local/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with " \
  ^~~~~~~

[2/2] Linking [33mbuild/std/.conf_check_d1e8da006504a519a3971608c01ca992/testbuild/release/testprog[0m

['mpicxx', '-Xlinker', '-export-dynamic', '-Wl,-O1', '-Wl,-Bsymbolic-functions', 'test.cpp.1.o', '-o/home/sameer/Install_Files/aster-full-src-14.4.0/SRC/aster-14.4.0/build/std/.conf_check_d1e8da006504a519a3971608c01ca992/testbuild/release/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/opt/petsc-3.9.4/linux-metis-mumps/lib', '-L/opt/parmetis-4.0.3/lib', '-L/opt/mumps-5.1.2_mob/lib', '-L/opt/aster/public/hdf5-1.10.3/lib', '-L/opt/aster/public/med-4.0.0/lib', '-L/opt/aster/public/metis-5.1.0/lib', '-L/opt/scotch-6.0.4/lib', '-L/opt/scalapack-n/lib', '-L/opt/OpenBLAS/lib', '-L/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu', '-L/usr/lib', '-lX11', '-lpthread', '-ldl', '-lutil', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm', '-lpython3.6m', '-lpthread', '-ldl', '-lutil', '-lm']
['/home/sameer/.local/lib/python3.6/site-packages/numpy/core/include']
----------------------------------------
Checking for asrun
['/usr/bin/python3', '-c', "\nimport asrun as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n\tprint(str(version))\nelse:\n\tprint('unknown version')\n"]
err: Traceback (most recent call last):
  File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'asrun'

from /home/sameer/Install_Files/aster-full-src-14.4.0/SRC/aster-14.4.0: Could not find the python module 'asrun'

#5 Re: Code_Aster installation » [SOLVED] Aster 14.4 Parallel compiling » 2020-09-16 12:28:23

Hello Ikka


hello, hope you can guide me in parallel version
a. first problem was hypre was removed from github extension. Did you faced Similar problem in 2019..how you solved it.

''''
****                            Please register to use hypre at computation.llnl.gov/casc/linear_solvers/sls_hypre.html                               **************************************************************************************************                            ===============================================================================                                                     Trying to download git:// github.com/LLNL/hypre for HYPRE         

github.com/LLNL/hypre/archive/v2.14.0.tar.gz is not a tarball

github has removed above link

where to download hypre manually and rerun terminal command""""

kindly reply.

b. I manually download Hypre and configure it.

c. I have similar problem asrun
Checking for numpy version               : 1.19.2
Checking for numpy include               : ['/home/sameer/.local/lib/python3.6/site-packages/numpy/core/include']
Checking for asrun                       : Could not find the python module 'asrun'
(complete log in /home/sameer/Install_Files/aster-full-src-14.4.0/SRC/aster-14.4.0/build/std/config.log)

hope you can show me some idea to solve above.

#6 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-16 08:04:27

Running make install on ML; this may take several minutes                                                               ===============================================================================                                               **************************************************************************************************                            Please register to use hypre at computation.llnl.gov/casc/linear_solvers/sls_hypre.html                               **************************************************************************************************                            ===============================================================================                                                     Trying to download git:// github.com/LLNL/hypre for HYPRE         

github.com/LLNL/hypre/archive/v2.14.0.tar.gz is not a tarball

github has removed above link

where to download hypre manually and rerun terminal command

#7 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-14 12:53:11

#endif
*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
Unable to run git stash/clean in repository: /opt/petsc-3.9.4/linux-metis-mumps/externalpackages/git.ml.
Perhaps its a git error!
*******************************************************************************
  File "./config/configure.py", line 394, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/opt/petsc-3.9.4/config/BuildSystem/config/framework.py", line 1092, in configure
    self.processChildren()
  File "/opt/petsc-3.9.4/config/BuildSystem/config/framework.py", line 1081, in processChildren
    self.serialEvaluation(self.childGraph)
  File "/opt/petsc-3.9.4/config/BuildSystem/config/framework.py", line 1062, in serialEvaluation
    child.configure()
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 864, in configure
    self.executeTest(self.configureLibrary)
  File "/opt/petsc-3.9.4/config/BuildSystem/config/base.py", line 127, in executeTest
    ret = test(*args,**kargs)
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 753, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 355, in generateGuesses
    d = self.checkDownload()
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 481, in checkDownload
    return self.getInstallDir()
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 294, in getInstallDir
    self.updateGitDir()
  File "/opt/petsc-3.9.4/config/BuildSystem/config/package.py", line 574, in updateGitDir
    raise RuntimeError('Unable to run git stash/clean in repository: '+self.packageDir+'.\nPerhaps its a git error!')
================================================================================
Finishing configure run at Mon, 14 Sep 2020 16:56:34 +0530
================================================================================

#9 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-14 12:17:51

Ok. Have started installing with your given instructions but got stuck with petsc-3.9.4.tar.gz...installing hypre.
github path to installation Hypre doesnot exist.

./configure --with-debugging=0 COPTFLAGS=-O CXXOPTFLAGS=-O FOPTFLAGS=-O --with-shared-libraries=0 --with-scalapack-dir=/opt/scalapack-n --PETSC_ARCH=linux-metis-mumps --with-metis-dir=/opt/aster/public/metis-5.1.0 --with-parmetis-dir=/opt/parmetis-4.0.3 --with-ptscotch-dir=/opt/scotch-6.0.4 --LIBS="-lgomp" --with-mumps-dir=/opt/mumps-5.1.2_mob -with-x=0 --with-blas-lapack-lib=[/opt/OpenBLAS/lib/libopenblas.a] --download-hypre=yes --download-ml=yes

on repeating above command below config.log file shows details

#10 Re: Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-11 07:34:13

scotch 6.0.4 already build in Install_Files/opt/

have install files as under. hope, steps also point out what i have done wrong.

make folder - Install_Files
mkdir opt in above folder

In Install_Files Folder following files where Extract & install as per procedure set
a. OpenBlas 3.10
b. aster_full src 14.4.0
c. parmetis 4.03
d. scalapack_installer

Now, in Folder
Install_Files/opt
following files were extracted and install as per procedure set
a. scotch6.0.4 ( copied .gz file from aster full 14.04 )
b. mumps 5.1.2_mob ( name changed ) ( coped .gz file from aster full 14.04)

while installing mumps above error shown.

kindly reply any step of installation missing out.

#11 Code_Aster installation » code_aster 14.4 parallel version with PETSc - Mumps error & further he » 2020-09-10 13:20:16

sameer21101970
Replies: 13

Mumps installation while compiling MPI version with Petsc has below error, Can Anybody pointout where i am might be going wrong. i am following  hitoricae.com/2019/11/10/code_aster-14-4-with-petsc/  link

$ make all
make ARITH=c mumps_lib
make[1]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob'
(cd src ; make c)
make[2]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
make ARITH=c mumps_lib
make[3]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
mpif90 -O -fPIC -DPORD_INTSIZE64 -fopenmp -I/opt/aster/public/metis-5.1.0/include -I/opt/parmetis-4.0.3/include -I/opt/scotch-6.0.4/include -I/opt/aster/public/metis-5.1.0/include -I/opt/parmetis-4.0.3/include -I/opt/scotch-6.0.4/include -Dpord -Dmetis -Dparmetis -Dscotch -Dptscotch -I. -I../include -c ana_orderings_wrappers_m.F -o ana_orderings_wrappers_m.o
f951: Warning: Nonexistent include directory ‘/opt/scotch-6.0.4/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/opt/scotch-6.0.4/include’ [-Wmissing-include-dirs]
ana_orderings_wrappers_m.F:371: Error: Can't open included file 'scotchf.h'
Makefile:293: recipe for target 'ana_orderings_wrappers_m.o' failed
make[3]: *** [ana_orderings_wrappers_m.o] Error 1
make[3]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
Makefile:20: recipe for target 'c' failed
make[2]: *** [c] Error 2
make[2]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
Makefile:40: recipe for target 'mumps_lib' failed
make[1]: *** [mumps_lib] Error 2
make[1]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob'
Makefile:18: recipe for target 'c' failed
make: *** [c] Error 2

#12 Re: Code_Aster installation » [Solved] Compiling MPI version with PETsc on Ubuntu 18.04 » 2020-09-10 12:44:08

Mumps installation while compiling MPI version with Petsc has below error, Can Anybody pointout where i am might be going wrong. i am following  hitoricae.com/2019/11/10/code_aster-14-4-with-petsc/  link

$ make all
make ARITH=c mumps_lib
make[1]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob'
(cd src ; make c)
make[2]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
make ARITH=c mumps_lib
make[3]: Entering directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
mpif90 -O -fPIC -DPORD_INTSIZE64 -fopenmp -I/opt/aster/public/metis-5.1.0/include -I/opt/parmetis-4.0.3/include -I/opt/scotch-6.0.4/include -I/opt/aster/public/metis-5.1.0/include -I/opt/parmetis-4.0.3/include -I/opt/scotch-6.0.4/include -Dpord -Dmetis -Dparmetis -Dscotch -Dptscotch -I. -I../include -c ana_orderings_wrappers_m.F -o ana_orderings_wrappers_m.o
f951: Warning: Nonexistent include directory ‘/opt/scotch-6.0.4/include’ [-Wmissing-include-dirs]
f951: Warning: Nonexistent include directory ‘/opt/scotch-6.0.4/include’ [-Wmissing-include-dirs]
ana_orderings_wrappers_m.F:371: Error: Can't open included file 'scotchf.h'
Makefile:293: recipe for target 'ana_orderings_wrappers_m.o' failed
make[3]: *** [ana_orderings_wrappers_m.o] Error 1
make[3]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
Makefile:20: recipe for target 'c' failed
make[2]: *** [c] Error 2
make[2]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob/src'
Makefile:40: recipe for target 'mumps_lib' failed
make[1]: *** [mumps_lib] Error 2
make[1]: Leaving directory '/home/sameer/Install_Files/opt/mumps-5.1.2_mob'
Makefile:18: recipe for target 'c' failed
make: *** [c] Error 2

#13 Re: Code_Aster usage » Twin pistons dynamic simulation » 2020-08-29 07:02:13

i admire your knowledge / skills on code-aster.

#14 Re: Code_Aster usage » Arbitrary ABNORMAL_ABORT after solver calculation » 2020-08-28 08:07:41

if you can share mesh file.

message shows 0, means solver run is successful.

some problem with definition in cal champ.

send mesh file.

#16 Re: Code_Aster usage » Advice needed on <EXCEPTION> <DVP_1> (DYNA_NON_LINE) » 2020-08-25 07:49:05

!
   ! The contact zone number 1 contains 1 nodes common to surfaces Masters and slaves.                                  !
   ! Check the         

You have to correct your groups - surface selection.

do group selection in geometry.
ball surface.
rectangular top surface.

check attachment

#17 Re: Code_Aster usage » contact "rasant" » 2020-08-23 12:12:05

i had faced similar problem, when i was defining 2 operations by single time step.
first step object 1 travelling to contact face.
second step object 1 bending object 2 in contact.

but after defining different timestep & function for both operation it worked fine.

or else build proper contact face of object 1 and object 2. run with single time step. it runs.

i have not seen your zip file, just sharing my experience.

#18 Re: Code_Aster usage » Problem in running code_ aster » 2020-08-23 12:06:28

The problem remains same and I overcame it by entering  into  full screen using Fn+F11 key . Now It works fine.

I did nt understood above Fn+f11 key. will you please eloborate.
or screenshot.

#19 Re: Code_Aster usage » Problem in running code_ aster » 2020-08-21 07:19:21

you update lubuntu or ubuntu 18.04 on your system. some dependency is missing.
sudo apt update
sudo apt upgrade

on very basic machines with 4 GB RAM, without any graphic card. S_meca 2019 works perfectly.

#20 Re: Code_Aster usage » Problem in running code_ aster » 2020-08-20 12:12:23

from salome meca, r you able to Run your study. run salome meca.

sometimes, the above astk problem persist in some computers.

reinstall python 3.6 specifically.

#21 Re: Code_Aster usage » Problem JEVEUX_40 when starting dynamic simulation » 2020-08-20 08:09:52

might be boundary conditions not properly define. you might hve define twice the boundary condition for single object.

#22 Re: Code_Aster usage » Problem in running code_ aster » 2020-08-20 08:01:25

ww.youtube.com/watch?v=LdIztOnYdcc

run astk from terminal, refer above youtube video

also, install all pre-requisites as mention on code aster download page.

if you can mesh your geometry, means your installation is successful.

#23 Re: Code_Aster usage » Problem in running code_ aster » 2020-08-18 12:51:43

ww.code-aster.org/spip.php?article1112

refer above link.
on page 2 there is procedure if you don't hv graphic card.
install 2019.

#24 Re: Code_Aster usage » Usage of DYNA_NON_LINE for EN 62262 test » 2020-08-13 16:09:18

Kugelmat = DEFI_MATERIAU(ELAS=_F(E=210000.0,
                                 NU=0.316,
                                 RHO=1.91e-08))

i have not seen your zip file, but you need to provide more details on material behaviour. for e.g strain vs strain data table for your kind of plastic

#25 Re: Salome-Meca usage » Nonlinear contact with curved faces » 2020-08-05 10:25:24

difficult to judge without mesh file.
but remove SANS group and then perform study.