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

You are not logged in.

#1 2021-04-13 18:57:32

scimulate
Member
Registered: 2021-04-13
Posts: 3

Connecting MUMPS (Parallel) to Code_Aster

Hello,

I'm able to compile Code_Aster 14.6, and all of its included sub-packages, on Ubuntu 20.04, but MUMPS compiles/installs a sequential (non-parallel) version by default.

From reading, it appears that I need to compile the parallel version of MUMPS first, then modify setup.cfg before compiling the full package. I'm able to compile MUMPS parallel version without issue (tested with the included MUMPS samples under ./examples/), and I copied the entire ./mumps-5.1.2/ folder to /opt/aster/public/ (to keep my entire Code_Aster installation in one location). Next, I modified the bottom of setup.cfg:

_install_mumps = False
HOME_MUMPS='/opt/aster/public/mumps-5.1.2'

However, when I load up astk with a project (one that previously ran sequentially without issue), I now receive an error message that MUMPS isn't installed.

JDC.py : ERREUR A L'EXECUTION - INTERRUPTION
>> JDC.py : DEBUT RAPPORT
CR d'execution de JDC en MIXTE
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   ! <S> Exception utilisateur levee mais pas interceptee.                            !
   ! Les bases sont fermees.                                                          !
   ! Type de l'exception : error                                                      !
   !                                                                                  !
   ! Le solveur "MUMPS" n'est pas installé dans cette version de Code_Aster.          !
   !                                                                                  !
   ! Conseil : Vérifiez que vous avez sélectionné la bonne version de Code_Aster.     !
   !           Attention, certains solveurs ne sont disponibles que dans les versions !
   ! parallèles de Code_Aster.                                                        !
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
fin CR d'execution de JDC en MIXTE

>> JDC.py : FIN RAPPORT
EXECUTION_CODE_ASTER_EXIT_412399-system76=1

 <I>_EXIT_CODE = 1

Can someone please point out what I'm missing? Thanks!

Offline