Difference between revisions of "TF MOOSE-MARMOT"

From New IAC Wiki
Jump to navigation Jump to search
Line 116: Line 116:
 
  setup so you can update to your private repository call "MyBCA"  that is a fork of the original cloned repository
 
  setup so you can update to your private repository call "MyBCA"  that is a fork of the original cloned repository
  
<ore>
+
<pre>
 
foretony093457:GEANT_BCA foretony$ git remote add MyBCA https://github.com/TonyForest/GEANT_BCA.git
 
foretony093457:GEANT_BCA foretony$ git remote add MyBCA https://github.com/TonyForest/GEANT_BCA.git
  

Revision as of 19:52, 1 July 2020

User_talk:Foretony#INL

Running at INL

MOOSE Documentation:

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

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


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


local Moose

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


User_talk:Foretony#INL