forked from tkotani/ecalj
-
Notifications
You must be signed in to change notification settings - Fork 1
/
InstallAll.ifort
executable file
·43 lines (33 loc) · 1007 Bytes
/
InstallAll.ifort
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
BINDIR=${HOME}/bin
MATH='-mkl'
### This is an example for hakozaki (ifort14) ###
# For each machine, we have to prepare
# lm7k/MAKEINC/Make.inc.ifort
# lm7k/MAKEINC/Make.inc.ifort_mpik
# fpgw/exec/Make.inc.ifort_mpik
# fpgw/Wannier/
mkdir ${BINDIR}
echo Going to install required binaries and scripts to ${BINDIR} !
# make a link to getsyml
ln -s ${PWD}/GetSyml/getsyml ${BINDIR}/getsyml
### viewvesta
cd StructureTool/
./makelink $BINDIR
### Use lm7K/Makefile
cd ../lm7K/
make PLATFORM=ifort LIBMATH="$MATH"
make PLATFORM=ifort BINDIR=$BINDIR install
make PLATFORM=ifort_mpik LIBMATH="$MATH"
make PLATFORM=ifort_mpik BINDIR=$BINDIR install
### Use fpgw/exec/makefile
cd ../fpgw/exec/
make PLATFORM=ifort LIBMATH="$MATH"
make PLATFORM=ifort BINDIR=$BINDIR install
make PLATFORM=ifort BINDIR=$BINDIR install2
### Use fpgw/Wannier/Makefile
cd ../Wannier/
make PLATFORM=ifort LIBMATH="$MATH"
make BINDIR=$BINDIR PLATFORM=ifort install
cd ../../TestInstall/
make mpi_size=4 all