Problems building Aster from scratch
- SN
- Topic Author
- Visitor
-
18 years 10 months ago #486
by SN
Problems building Aster from scratch was created by SN
Hi all,
I tried to build Aster 8.3.0 (the latest version) from scratch on Linux (X86_64). The build seemed to go very well for a long while before it gave errors as indicated below.
Any ideas on how this can be fixed (or any advice that can get me started)?
Thanks,
SN
PS: I also posted this on forum (English discussion part) on the web site www.code-aster.org. There was already a similar post (\"Compilation of elements\") that is still waiting for a response. I am hoping this forum might yield faster response as there are experts making CAE CDs with Aster build. This will surely be a good contribution for others who want to install on other Linux systems that they already have.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Build Code_Aster executable
extracting 'python.o' from libaster.a... [ OK ]creating .../STA8.3/asteru... [ OK ]testing executable /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
Compilation of commands catalogue
creating directory /home/snimmala/three/num_analysis/code-aster/install/STA8.3/commande
[ OK ]
copying .../STA8.3/catapy [ OK ]adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
adding a symbolic link to /tmp/astk_snimmala/build.25169/cata.py... [ OK ]copying /home/snimmala/three/num_analysis/code-aster/install/STA8.3/elements...
[ SKIP ]
compilation of commands [ OK ]copying .../cata.py* [ OK ]
OK Commands catalogue successfully compiled
Prepare cata_ele.pickled
creating directory /tmp/astk_snimmala/build.25169 [ OK ]build cata_ele.pickled with make_capy_offi.py [ OK ]
OK cata_ele.pickled successfully created
copying .../cata_ele.pickled [ OK ]
Compilation of elements catalogue
creating directory /tmp/astk_snimmala/build.25169 [ OK ]adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/commande/cata.py...
[ OK ]
copying /home/snimmala/three/num_analysis/code-aster/install/STA8.3/elements...
[ SKIP ]
pre-compilation of elements with make_surch_offi.py [ OK ]compilation of elements with /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru
[FAILED]
Exit code : 139
==========================================
==========================================
# COMPILATION DU CATALOGUE D'ELEMENT
DEBUT ( CATALOGUE = _F( FICHIER = 'CATAELEM' , UNITE = 4 ))
MAJ_CATA ( ELEMENT = _F())
FIN()
==========================================
==========================================
_NO_RESU_FILE file not found fort.8
_CATAELE_ERROR error during compilation of elements
Compilation in debug mode 264.39 s 106.06 s 412.06 s
Add object files to library 9.85 s 3.15 s 22.82 s
Build executables 5.93 s 1.93 s 10.72 s
Test executables 0.09 s 0.04 s 0.44 s
Compilation in nodebug mode 268.97 s 107.40 s 436.78 s
Compilation of commands catalogue 1.54 s 0.23 s 1.89 s
Make pickled of elements 32.96 s 0.42 s 33.47 s
Compilation of elements 12.86 s 0.76 s 13.69 s
Total time 596.65 s 220.02 s 931.95 s
(cpu) (system) (total elapsed)
--- DIAGNOSTIC JOB : _CATAELE_ERROR
*** Exception raised : error during compilation
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I tried to build Aster 8.3.0 (the latest version) from scratch on Linux (X86_64). The build seemed to go very well for a long while before it gave errors as indicated below.
Any ideas on how this can be fixed (or any advice that can get me started)?
Thanks,
SN
PS: I also posted this on forum (English discussion part) on the web site www.code-aster.org. There was already a similar post (\"Compilation of elements\") that is still waiting for a response. I am hoping this forum might yield faster response as there are experts making CAE CDs with Aster build. This will surely be a good contribution for others who want to install on other Linux systems that they already have.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Build Code_Aster executable
extracting 'python.o' from libaster.a... [ OK ]creating .../STA8.3/asteru... [ OK ]testing executable /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
Compilation of commands catalogue
creating directory /home/snimmala/three/num_analysis/code-aster/install/STA8.3/commande
[ OK ]
copying .../STA8.3/catapy [ OK ]adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
adding a symbolic link to /tmp/astk_snimmala/build.25169/cata.py... [ OK ]copying /home/snimmala/three/num_analysis/code-aster/install/STA8.3/elements...
[ SKIP ]
compilation of commands [ OK ]copying .../cata.py* [ OK ]
OK Commands catalogue successfully compiled
Prepare cata_ele.pickled
creating directory /tmp/astk_snimmala/build.25169 [ OK ]build cata_ele.pickled with make_capy_offi.py [ OK ]
OK cata_ele.pickled successfully created
copying .../cata_ele.pickled [ OK ]
Compilation of elements catalogue
creating directory /tmp/astk_snimmala/build.25169 [ OK ]adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru...
[ OK ]
adding a symbolic link to /home/snimmala/three/num_analysis/code-aster/install/STA8.3/commande/cata.py...
[ OK ]
copying /home/snimmala/three/num_analysis/code-aster/install/STA8.3/elements...
[ SKIP ]
pre-compilation of elements with make_surch_offi.py [ OK ]compilation of elements with /home/snimmala/three/num_analysis/code-aster/install/STA8.3/asteru
[FAILED]
Exit code : 139
==========================================
==========================================
# COMPILATION DU CATALOGUE D'ELEMENT
DEBUT ( CATALOGUE = _F( FICHIER = 'CATAELEM' , UNITE = 4 ))
MAJ_CATA ( ELEMENT = _F())
FIN()
==========================================
==========================================
_NO_RESU_FILE file not found fort.8
_CATAELE_ERROR error during compilation of elements
Compilation in debug mode 264.39 s 106.06 s 412.06 s
Add object files to library 9.85 s 3.15 s 22.82 s
Build executables 5.93 s 1.93 s 10.72 s
Test executables 0.09 s 0.04 s 0.44 s
Compilation in nodebug mode 268.97 s 107.40 s 436.78 s
Compilation of commands catalogue 1.54 s 0.23 s 1.89 s
Make pickled of elements 32.96 s 0.42 s 33.47 s
Compilation of elements 12.86 s 0.76 s 13.69 s
Total time 596.65 s 220.02 s 931.95 s
(cpu) (system) (total elapsed)
--- DIAGNOSTIC JOB : _CATAELE_ERROR
*** Exception raised : error during compilation
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
- JB
- Topic Author
- Visitor
-
18 years 10 months ago #503
by JB
Replied by JB on topic Re:Problems building Aster from scratch
Hi
How does your setup.cfg or config.txt-file look like?
/JB
How does your setup.cfg or config.txt-file look like?
/JB
- Joël Cugnoni
-
- Offline
- Moderator
-
18 years 9 months ago #508
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:Problems building Aster from scratch
Hi,
sorry I have no explaination for this problem, but try to check if bison or yacc is installed. It is not mentionned in the list of pre requisite software but it is absolutely necessary to compile Aster.
Good luck
sorry I have no explaination for this problem, but try to check if bison or yacc is installed. It is not mentionned in the list of pre requisite software but it is absolutely necessary to compile Aster.
Good luck
Joël Cugnoni - a.k.a admin
www.caelinux.com
- SN
- Topic Author
- Visitor
-
18 years 9 months ago #513
by SN
Replied by SN on topic Re:Problems building Aster from scratch
Hi,
I would like to share my experience of installing code-aster for helping
someone who might find it interesting for their own environment. The
information given in the English discussion part of forum
(www.code-aster.org/forum/read.php?f=24&i=34&t=34 ;
title: 64-bit installation with gfortran ) is great to start with
as I had to tweak at a few places only to get it going!
The OS is SuSE 10.0 (Novell) on AMD Athlon64 PC. The gcc/gfortran that came with
is of version 4.0.2. This version gave problems because functions such as loc,
xor, etc are not implemented.
1.gfortran/gcc (v.4.2.0): Downloaded gcc-trunk-x86_64.tar.gz from
gcc.gnu.org/wiki/GFortranBinaries (this link is not functional at
this point, so one may try :
www.physik.fu-berlin.de/~tburnus/gcc-trunk/)
2.gfortran 4.2.0 required libmpfr.so.1. So downloaded mpfr-2.2.0.tar.gz from
www.mpfr.org. Used >./configure --enable-shared --enable-static to build
.so + .a.
3. Included the location of libmpfr.so.1 & libgfortran.so.1 to
LD_LIBRARY_PATH.
4. Used setup.cfg provided in a post in the above mentioned thread and edited to
incorporate the above information (including gcc, gfortran).
5.>python setup.py install. Everything, except grace (needs libXm.a or
libXm.so), got built fine. It took ~ 1hr for both debug and non-debug versions.
6.Testing: 1395 out of 1454 went through (it got upto 1395 probably because of
the preset error limit of 50). Many got \"OKs\", some are \"ALARM\", few are
crashes. Is this executable working as expected? What is an ALARM ( is it
a warning)?
The software is great and having lots of capabilities, but it is going to be
an uphill task for me trying to understand the information in French. I know
there are a few documents in English (including a dictionary of few words),
but it will be more accessible to all if there is an optional English display
in the software. Any suggestions/help in this regard?
BTW, I could not post this information on Code-Aster's thread as it requires
some login info that I don't understand (all in French). Any help on how I may
be able to post there as well?
Thanks,
SN
I would like to share my experience of installing code-aster for helping
someone who might find it interesting for their own environment. The
information given in the English discussion part of forum
(www.code-aster.org/forum/read.php?f=24&i=34&t=34 ;
title: 64-bit installation with gfortran ) is great to start with
as I had to tweak at a few places only to get it going!
The OS is SuSE 10.0 (Novell) on AMD Athlon64 PC. The gcc/gfortran that came with
is of version 4.0.2. This version gave problems because functions such as loc,
xor, etc are not implemented.
1.gfortran/gcc (v.4.2.0): Downloaded gcc-trunk-x86_64.tar.gz from
gcc.gnu.org/wiki/GFortranBinaries (this link is not functional at
this point, so one may try :
www.physik.fu-berlin.de/~tburnus/gcc-trunk/)
2.gfortran 4.2.0 required libmpfr.so.1. So downloaded mpfr-2.2.0.tar.gz from
www.mpfr.org. Used >./configure --enable-shared --enable-static to build
.so + .a.
3. Included the location of libmpfr.so.1 & libgfortran.so.1 to
LD_LIBRARY_PATH.
4. Used setup.cfg provided in a post in the above mentioned thread and edited to
incorporate the above information (including gcc, gfortran).
5.>python setup.py install. Everything, except grace (needs libXm.a or
libXm.so), got built fine. It took ~ 1hr for both debug and non-debug versions.
6.Testing: 1395 out of 1454 went through (it got upto 1395 probably because of
the preset error limit of 50). Many got \"OKs\", some are \"ALARM\", few are
crashes. Is this executable working as expected? What is an ALARM ( is it
a warning)?
The software is great and having lots of capabilities, but it is going to be
an uphill task for me trying to understand the information in French. I know
there are a few documents in English (including a dictionary of few words),
but it will be more accessible to all if there is an optional English display
in the software. Any suggestions/help in this regard?
BTW, I could not post this information on Code-Aster's thread as it requires
some login info that I don't understand (all in French). Any help on how I may
be able to post there as well?
Thanks,
SN
- JMB
- Topic Author
- Visitor
-
18 years 9 months ago #555
by JMB
Replied by JMB on topic Re:Problems building Aster from scratch
Hi SN,
In order to translate the Code-Aster webpages I use Google's translate facility. Just Google for \"Dode-Aster\" and click on the \"Translate this page\" to get a fairly good translation of ALL subsequent pages youe are trying to decipher!
Good Luck. I too am struugling with language being a barrier.
JMB
In order to translate the Code-Aster webpages I use Google's translate facility. Just Google for \"Dode-Aster\" and click on the \"Translate this page\" to get a fairly good translation of ALL subsequent pages youe are trying to decipher!
Good Luck. I too am struugling with language being a barrier.
JMB
- JMB
- Topic Author
- Visitor
-
18 years 9 months ago #556
by JMB
Replied by JMB on topic Re:Problems building Aster from scratch
Hi SN,
At the moment I seem to be struggling with typing! The previous message should read:
\"Code-Aster\", \"you\" & \"struggling\"
JMB
At the moment I seem to be struggling with typing! The previous message should read:
\"Code-Aster\", \"you\" & \"struggling\"
JMB
Moderators: catux
Time to create page: 0.279 seconds