Coder Social home page Coder Social logo

debasismpt125 / uintah_geotech Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 345.12 MB

Uintah-MPM repository for Aalto university projects.

C++ 80.26% Makefile 1.07% Fortran 1.62% C 0.43% Objective-C 0.06% TeX 1.55% Cuda 0.72% PostScript 2.86% MATLAB 2.80% Shell 1.47% Python 2.51% R 0.48% Perl 0.21% Gnuplot 0.15% Java 1.77% Jupyter Notebook 1.56% Mathematica 0.06% SWIG 0.01% GLSL 0.01% M4 0.38%
mpm soil-mechanics computational-geomechanics cpt geotechnical-engineering fall-cone marine-clay

uintah_geotech's Introduction

Uintah_Geotech

Uintah-MPM repository for geotechnical applications

INSTALLATION

1. Install pre-installation softwares

sudo apt-get install subversion libhypre-dev petsc-dev
libxml2-dev zlib1g-dev liblapack-dev cmake libglew-dev
libxmu-dev g++ gfortran libboost-all-dev git
libxrender-dev libxi-dev

2. openmpi installation

Follow the instructions on: https://sites.google.com/site/rangsiman1993/comp-env/program-install/install-openmpi

Example: ../configure --enable-mpi-thread-multiple --prefix=/usr/local

make

make install

3. HYPRE installation

Follow the instructions on: https://github.com/hypre-space/hypre

4. visit Installation

Follow the instructions on: https://visit-dav.github.io/visit-website/releases-as-tables/

Example: sudo ./visit-install3_2_1 3.2.1 linux-x86_64-ubuntu20 /usr/local/visit

Add visit to path

export PATH="/usr/local/visit/bin:$PATH"

./visit

Or cd /usr/local/visit/bin

./visit

5. PETSC Installation

Follow the instructions on: https://petsc.org/release/install/download/

LD_LIBRARY_PATH=/usr/local/lib
./configure --with-shared-libraries
--with-debugging=O
--with-mpi-dir=/usr/local
--prefix=/home/jas/petsc

../src/configure --enable-debug --enable-all-components
--with-boost=/usr --enable-wasatch_3p

6. Compile Uintah

Download Uintah

Create directory named opt in the uintah folder

cd to opt

../src/configure '--enable-optimize=-O3 -mfpmath=sse' --enable-mpm --without-fortran --with-mpi-lib=/usr/lib/x86_64-linux-gnu/openmpi/lib --with-mpi-include=/usr/lib/x86_64-linux-gnu/openmpi/include F77=gfortran

make

Hypre installation (Optional)

Follow Instructions on: https://github.com/hypre-space/hypre

cd hypre-2.18.2/src ./configure
--prefix=/usr/installed/hypre-2.18.2/gcc10.2.1-mpich3.4
--enable-shared
--with-MPI-include=/usr/include/mpich
--with-MPI-lib-dirs=/usr/lib/mpich/lib
--with-MPI-libs='mpich'
CC=mpicc
CXX=mpicx

Compile Uintah with Hypre (Optional)

../src/configure '--enable-optimize=-O3 -mfpmath=sse' --enable-mpm --enable-ice --without-fortran --with-mpi-lib=/usr/lib/x86_64-linux-gnu/openmpi/lib --with-mpi-include=/usr/lib/x86_64-linux-gnu/openmpi/include F77=gfortran --with-hypre-lib=/home/debasis/Downloads/hypre-2.18.0/src/hypre/lib --with-hypre-include=/home/debasis/Downloads/hypre-2.18.0/src/hypre/include

make

Running a simple example using sus

/Uintah-master-org/opt/StandAlone/sus Uintah_Geotech/src/StandAlone/inputs/MPM/fallcone.ups

Running a simple example using MPI

/usr/lib64/openmpi/bin/mpirun -np 16 /Uintah_Geotech/opt/StandAlone/sus Uintah_Geotech/src/StandAlone/inputs/MPM/fallcone1.ups

Adding new material to Uintah

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.