GithubHelp home page GithubHelp logo

Comments (6)

senpaibernd avatar senpaibernd commented on May 26, 2024

...or can anyone provide a step-by-step manual how to compile the engine with mumps so that it actually works?

from openradioss.

elequiniou avatar elequiniou commented on May 26, 2024

Yes, this is the plan, provide an easier way to build implicit solvers, including MUMPS. We are working on it. Thanks for your patience.

from openradioss.

senpaibernd avatar senpaibernd commented on May 26, 2024

That sounds great! I am looking forward to a solution!

from openradioss.

senpaibernd avatar senpaibernd commented on May 26, 2024

I tried the additional arguments in the buildscript (I also noticed the changes in the file cmake_linux64_gf.txt): The dependent libraries (lapack, scalapack) compile without errors, but when compiling the engine I still get the same error.

from openradioss.

senpaibernd avatar senpaibernd commented on May 26, 2024

To get an idea what i did exactly, here is my step-by-step instruction:

Install WSL 2
Install Ubuntu 20 (22 with GCC 10 prodces a fortran compiler error which I cannot avoided at the moment)
Install packages:
   sudo apt-get update
   sudo apt-get upgrade
   sudo apt-get install build-essential gfortran cmake perl
   sudo apt-get install openmpi-bin libopenmpi-dev

wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.2.tar.gz
tar -xvzf openmpi-4.1.2.tar.gz
cd openmpi-4.1.2
sudo ./configure --prefix=/opt/openmpi
sudo make
sudo make install

Download ZIP RADIOSS from https://github.com/OpenRadioss/OpenRadioss and unzip (or git clone)

Now, build engine with MUMPS and OpenMPI:
Create and enter the directory OpenRadioss/extlib/mumps
Download packages:
wget https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.10.1.tar.gz
wget https://github.com/Reference-ScaLAPACK/scalapack/archive/refs/tags/v2.2.0.tar.gz
wget http://ftp.mcs.anl.gov/pub/petsc/externalpackages/MUMPS_5.5.1.tar.gz
Extract:
tar -xvzf (all packages)
Build:
lapack-dir:
make.inc.example --> make.inc
--> make
scalapack-dir:
SLmake.inc.example --> SLmake.inc
Modify:
BLASLIB       = /home/blind/OpenRadioss-main/extlib/mumps/lapack-3.10.1/librefblas.a
LAPACKLIB     = /home/blind/OpenRadioss-main/extlib/mumps/lapack-3.10.1/liblapack.a
--> make
mumps:
sudo apt-get install libmetis-dev libparmetis-dev libscotch-dev libptscotch-dev libatlas-base-dev openmpi-bin libopenmpi-dev liblapack-dev
Makefile.debian.PAR --> Makefile.inc
Modify:
LAPACK = /home/blind/OpenRadioss-main/extlib/mumps/lapack-3.10.1/liblapack.a
SCALAP  = /home/blind/OpenRadioss-main/extlib/mumps/scalapack-2.2.0/libscalapack.a /home/blind/OpenRadioss-main/extlib/mumps/lapack-3.10.1/librefblas.a
--> make

ENGINE:
Check before:
path_to_mumps/lib/libdmumps.a must exist
path_to_scalapack/libscalapack.a must exist
path_to_lapack/liblapack.a must exist
./build_script.sh -arch=linux64_gf -mpi=ompi –prec=dp –static-link -mumps_root=/home/blind/OpenRadioss-main/extlib/mumps/MUMPS_5.5.1 -scalapack_root=/home/blind/OpenRadioss-main/extlib/mumps/scalapack-2.2.0 -lapack_root=/home/blind/OpenRadioss-main/extlib/mumps/lapack-3.10.1

from openradioss.

senpaibernd avatar senpaibernd commented on May 26, 2024

Solved here:
#485

from openradioss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.