Comments (6)
...or can anyone provide a step-by-step manual how to compile the engine with mumps so that it actually works?
from openradioss.
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.
That sounds great! I am looking forward to a solution!
from openradioss.
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.
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.
Solved here:
#485
from openradioss.
Related Issues (20)
- Having trouble getting MPI working on linux HOT 2
- Dyna input creates incorrectly formatted engine file HOT 2
- *PART_COMPOSITE ply's material lists parsing incosistent with ls-dyna default format HOT 9
- Release naming and older versions HOT 1
- libraduser*.a is missing for User Subroutine compilation HOT 3
- Forget to update SUBTRIA(I)=IT0(3,ITQ)? HOT 3
- Improve efficiency by replacing the loop over all edges to labeled edges HOT 2
- Little doubt on updating TAG in the case of multi-contact HOT 4
- Apptainer file for arm64 Linux is incorrect
- th_to_csv: Wrong variable in if statement HOT 2
- th_to_csv_win64.exe does not convert contact forces correctly HOT 8
- Compile error HOT 3
- Energy error exceeds limit when only a fraction of part is rigid HOT 2
- hm_read_thgrou.F: Some vars are wrong HOT 3
- ERROR: AddressSanitizer: new-delete-type-mismatch when using AWS but not when using GCP HOT 18
- Restarts with /FAIL caused the Engine to crash HOT 2
- MAT_PLASTIC_KINEMATIC hardening parameter is not mapped properly? HOT 4
- Installation of openradioss using spack is failing HOT 8
- Windows installation HOT 3
- Support MAT law with temperature-dependent elastic modulus and strain rate dependent stress functions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openradioss.