forked from tkotani/ecalj
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInstallAll.ifort.cmd
More file actions
executable file
·39 lines (31 loc) · 976 Bytes
/
InstallAll.ifort.cmd
File metadata and controls
executable file
·39 lines (31 loc) · 976 Bytes
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
#!/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.cmd
# fpgw/exec/Make.inc.ifort_mpik.cmd
# fpgw/Wannier/
mkdir ${BINDIR}
echo Going to install required binaries and scripts to ${BINDIR} !
### viewvesta
cd StructureTool/
./makelink $BINDIR
### Use lm7K/Makefile
cd ../lm7K/
make PLATFORM=ifort.cmd LIBMATH="$MATH"
make PLATFORM=ifort.cmd BINDIR=$BINDIR install
make PLATFORM=ifort_mpik.cmd LIBMATH="$MATH"
make PLATFORM=ifort_mpik.cmd BINDIR=$BINDIR install
### Use fpgw/exec/makefile
cd ../fpgw/exec/
make PLATFORM=ifort.cmd LIBMATH="$MATH"
make PLATFORM=ifort.cmd BINDIR=$BINDIR install
make PLATFORM=ifort.cmd BINDIR=$BINDIR install2
### Use fpgw/Wannier/Makefile
cd ../Wannier/
make PLATFORM=ifort.cmd LIBMATH="$MATH"
make BINDIR=$BINDIR PLATFORM=ifort.cmd install
cd ../../TestInstall/
make mpi_size=6 all