Difference between revisions of "TF MOOSE-MARMOT"

From New IAC Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
MOOSE needs CMake and Python
 
MOOSE needs CMake and Python
  
module load cmake
 
  
 +
the command
  
 +
module spider cmake
  
After following th MOOSE install directions I encountered the following error on the INL server
+
will list all available cmake versions
  
python 2.7 is required to run the test harness
 
  
I need to tell the INL server to use python 2.7
+
below are the modules I loaded
After following th MOOSE install directions I encountered the following error on the INL server
 
  
python 2.7 is required to run the test harness
 
  
I need to tell the INL server to use python 2.7
+
module load intel-mpi/2019.0.117-intel-19.0.5-cydt
 +
module load cmake/3.16.2-gcc-9.3.0-tza7
 +
module load gcc/9.3.0-gcc-4.8.5-twls
 +
module load python/3.7.4-gcc-9.3.0-ht2d
  
 
==Loading packages using "module"==
 
==Loading packages using "module"==

Revision as of 23:13, 27 July 2020

User_talk:Foretony#INL

Running at INL

MOOSE Documentation:


Setting up HPS uilities

to list available modules type

module spider


MOOSE needs CMake and Python


the command

module spider cmake

will list all available cmake versions


below are the modules I loaded


module load intel-mpi/2019.0.117-intel-19.0.5-cydt
module load cmake/3.16.2-gcc-9.3.0-tza7
module load gcc/9.3.0-gcc-4.8.5-twls
module load python/3.7.4-gcc-9.3.0-ht2d

Loading packages using "module"

first load user modules

module load use.projects
module load use.spack
module load moose-dev/5.7.0-gmvolf-5.5.7



https://hpcsc.inl.gov/moose

local Moose

https://mooseframework.inl.gov/getting_started/installation/conda.html


Daniel V's Binary collision Approx

Download

git clone https://github.com/vanwdani/GEANT_BCA.git

files are in

src/MOOSE/projects/GEANT_BCA

  see README file for installation instructions


need to install xerces

 brew install xerces-c


brew install jsoncpp

check the version number of json

  ls /usr/local/Cellar/jsoncpp/

and set your path to it


now setup your cloned version so it tracks the origin

foretony093457:GEANT_BCA foretony$ git remote -vv
origin  https://github.com/vanwdani/GEANT_BCA.git (fetch)
origin  https://github.com/vanwdani/GEANT_BCA.git (push)
foretony093457:GEANT_BCA foretony$ git fetch
foretony093457:GEANT_BCA foretony$ git fetch origin
foretony093457:GEANT_BCA foretony$ git remote -vv
origin  https://github.com/vanwdani/GEANT_BCA.git (fetch)
origin  https://github.com/vanwdani/GEANT_BCA.git (push)
foretony093457:GEANT_BCA foretony$ git checkout -b Freya origin/Freya
Branch 'Freya' set up to track remote branch 'Freya' from 'origin'.
Switched to a new branch 'Freya'


setup so you can update to your private repository call "MyBCA"  that is a fork of the original cloned repository
foretony093457:GEANT_BCA foretony$ git remote add MyBCA https://github.com/TonyForest/GEANT_BCA.git

foretony093457:GEANT_BCA foretony$ git remote -vv     
MyBCA   https://github.com/TonyForest/GEANT_BCA.git (fetch)
MyBCA   https://github.com/TonyForest/GEANT_BCA.git (push)
origin  https://github.com/vanwdani/GEANT_BCA.git (fetch)
origin  https://github.com/vanwdani/GEANT_BCA.git (push)



export PKG_CONFIG_PATH=/usr/local/Cellar/jsoncpp/1.9.3/lib/pkgconfig:$PKG_CONFIG_PATH


GitHUb install

Install petsc

git clone -b maint https://bitbucket.org/petsc/petsc petsc

cd petsc

./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-mpich --download-fblaslapack

make all test


export PETSC_DIR=$pwd/petsc

export PETSC_DIR=/Users/foretony/src/MOOSE/projects/moose/petsc/

export PETSC_ARCH=arch-darwin-c-debug check

Install libmesh

git clone git://github.com/libMesh/libmesh.git 

cd libmesh

make

make install

Install Moose

git clone https://github.com/idaholab/moose.git

cd moose

git checkout master


User_talk:Foretony#INL