Here are the steps I used to get Model installed and running on Sunbird.
hg clone https://[email protected]/model/model Model
module load boost/1.69.0
module load eigen/3.3.7
module load mkl
cd /home/s.t.d.pritchard/local_builds/Model/tutorials/DislocationDynamics
Template can be seen here: https://github.com/pritchardtom/Model_Makefile/blob/master/Makefile, but you need to:
- Change
MODEL_INCLUDE
on line 7. - Comment out
GREATWHITE_INCLUDE
on line 8. - Change
EIGEN_INCLUDE
on line 9 to point to correct location. - Change
MKL_INCLUDE
on line 10 to point to correct location. - Comment out
IDIR += -I$(GREATWHITE_INCLUDE)
on line 21. - Change
MKL_LIB
on line 76 to point to correct location.
cd finiteDomains_NO_FEM/uniformLoadController/
make -f Makefile
make microstructureGenerator
make DDomp
./DDomp