- Forum
- Public Forums
- Finite Element Modelling - Code_Aster
- Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
- JMB
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 166
- Thank you received: 0
15 years 10 months ago #3223
by JMB
Steps to compile CodeAster in 64bit with OpenMP, MPI, etc. was created by JMB
Hello Joel,
Would it be possible to document the detailed steps you have used to compile CodeAster 9.4 with OpenMP, Intel & GCC compilers so that others may learn from it?
Also it will help in trying (or assisting you) during attempts at compiling the newer CodeAster 10.0 release for 64bit w/ OpenMP, MPI, etc. Thank you.
Regards,
JMB
Post edited by: JMB, at: 2009/07/09 16:05<br /><br />Post edited by: JMB, at: 2009/07/10 18:21
Would it be possible to document the detailed steps you have used to compile CodeAster 9.4 with OpenMP, Intel & GCC compilers so that others may learn from it?
Also it will help in trying (or assisting you) during attempts at compiling the newer CodeAster 10.0 release for 64bit w/ OpenMP, MPI, etc. Thank you.
Regards,
JMB
Post edited by: JMB, at: 2009/07/09 16:05<br /><br />Post edited by: JMB, at: 2009/07/10 18:21
- Joël Cugnoni
-
- Offline
- Moderator
-
15 years 10 months ago #3227
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
Hi
Sorry, but I compiled these binaries more than 6 months ago on another machine: initially it was just a trial, but I finally kept it as it was to include it in CAELinux 2009... This is just to explain you why I don't have the compilation notes... But from what I remember, the key points are:
1) if you are using Ubuntu, you will need to compile the code as a simple user not as root (through sudo) because the LD_LIBRARY_PATH variable is protected in "sudo" which prevents you from using Intel compilers as root. So if you install in /opt/aster, do a sudo chmod a+rw /opt/aster before compiling the code. At the end, you will change the access rights to revert to a safe configuration.
2) you NEED to source the Intel C, Fortran and MKL environments before running the install script of Aster
3) I remember that I had to modify some parts of the config file to add the full paths to the compilers.
I will let you know when I try to compile version 10.
I hope that it can help you.
Joël
Sorry, but I compiled these binaries more than 6 months ago on another machine: initially it was just a trial, but I finally kept it as it was to include it in CAELinux 2009... This is just to explain you why I don't have the compilation notes... But from what I remember, the key points are:
1) if you are using Ubuntu, you will need to compile the code as a simple user not as root (through sudo) because the LD_LIBRARY_PATH variable is protected in "sudo" which prevents you from using Intel compilers as root. So if you install in /opt/aster, do a sudo chmod a+rw /opt/aster before compiling the code. At the end, you will change the access rights to revert to a safe configuration.
2) you NEED to source the Intel C, Fortran and MKL environments before running the install script of Aster
3) I remember that I had to modify some parts of the config file to add the full paths to the compilers.
I will let you know when I try to compile version 10.
I hope that it can help you.
Joël
Joël Cugnoni - a.k.a admin
www.caelinux.com
- Joël Cugnoni
-
- Offline
- Moderator
-
15 years 10 months ago #3228
by Joël Cugnoni
Joël Cugnoni - a.k.a admin
www.caelinux.com
Replied by Joël Cugnoni on topic Re:Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
PS: I have only compiled an OpenMP executable , I still haven't tried to build an MPI version... but this would be a great addition for clusters!!!
Joël Cugnoni - a.k.a admin
www.caelinux.com
- JMB
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 166
- Thank you received: 0
15 years 10 months ago #3232
by JMB
Replied by JMB on topic Re:Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
Hello Joel,
I had posted the steps to installing OpenMPI in the CodeAster Wiki pages, but did not progress beyond that since I got lost in the compiler directives, config files, etc. of CodeAster 9.3. Take a look at:
www.code-aster.org/wiki/doku.php?id=en:p...stall:p100_aster_mpi
(Section: How to Install OpenMPI in Ubuntu which was my log of a successful installation based on my previous experience of having installed an Oscar cluster on 4 FedoraCore5 PCs.)
and
www.code-aster.org/wiki/doku.php?id=en:p...l:p100_aster_mpi_par
to see if that helps you with OpenMPI compilation of CodeAster. Your assistance will be very welcome and I will assist as best as I can. Thank you.
Regards,
JMB
PS: The 4 "Smiley" icons (emoticons) in the URLS referenced above are really the two characters [colon][p] showing up as "
"s. The rest of the garbage getting embedded by Joomlaboard software, I am unable to fix, although the preview function during editing shows it correctly.
Post edited by: JMB, at: 2009/07/10 18:18<br /><br />Post edited by: JMB, at: 2009/07/10 18:20
I had posted the steps to installing OpenMPI in the CodeAster Wiki pages, but did not progress beyond that since I got lost in the compiler directives, config files, etc. of CodeAster 9.3. Take a look at:
www.code-aster.org/wiki/doku.php?id=en:p...stall:p100_aster_mpi
(Section: How to Install OpenMPI in Ubuntu which was my log of a successful installation based on my previous experience of having installed an Oscar cluster on 4 FedoraCore5 PCs.)
and
www.code-aster.org/wiki/doku.php?id=en:p...l:p100_aster_mpi_par
to see if that helps you with OpenMPI compilation of CodeAster. Your assistance will be very welcome and I will assist as best as I can. Thank you.
Regards,
JMB
PS: The 4 "Smiley" icons (emoticons) in the URLS referenced above are really the two characters [colon][p] showing up as "

Post edited by: JMB, at: 2009/07/10 18:18<br /><br />Post edited by: JMB, at: 2009/07/10 18:20
- Alessandro
- Offline
- Premium Member
-
Less
More
- Posts: 108
- Thank you received: 0
15 years 10 months ago #3235
by Alessandro
Replied by Alessandro on topic Re:Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
I did it on a Mandriva 2009-64bit. May be you already saw it, but if not, I hope you will find something interesting.
www.code-aster.org/wiki/doku.php?id=en:p...stall:mandriva_64bit
I tested it and it works with both cores of my processor, at least on linear analisys (it seems that Aster does not support multiple processors on non-linears analisys, but I'm not sure, may be I'm wrong).
May be the link is incorrect due to smileys, but the path is:
code aster site --> documentation --> wiki --> english --> aster installation --> p02 install --> mandriva 64bit<br /><br />Post edited by: Alessandro, at: 2009/07/11 08:15
www.code-aster.org/wiki/doku.php?id=en:p...stall:mandriva_64bit
I tested it and it works with both cores of my processor, at least on linear analisys (it seems that Aster does not support multiple processors on non-linears analisys, but I'm not sure, may be I'm wrong).
May be the link is incorrect due to smileys, but the path is:
code aster site --> documentation --> wiki --> english --> aster installation --> p02 install --> mandriva 64bit<br /><br />Post edited by: Alessandro, at: 2009/07/11 08:15
- Peter Halverson
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 0
15 years 8 months ago #3382
by Peter Halverson
I'm not 100% sure about this either but I believe that the part in the documentation refering to 'linear' refers to linear as in linear algebra (ie. factoring the stifness matrix) and not linear as in linear analysis.
Replied by Peter Halverson on topic Re:Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
it seems that Aster does not support multiple processors on non-linears analisys, but I'm not sure, may be I'm wrong).
I'm not 100% sure about this either but I believe that the part in the documentation refering to 'linear' refers to linear as in linear algebra (ie. factoring the stifness matrix) and not linear as in linear analysis.
Moderators: catux
- Forum
- Public Forums
- Finite Element Modelling - Code_Aster
- Steps to compile CodeAster in 64bit with OpenMP, MPI, etc.
Time to create page: 0.191 seconds