forked from scientific-computing/FKB
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build_steps.sh
28 lines (23 loc) · 872 Bytes
/
build_steps.sh
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
rm -rf build
mkdir build
cd build
# perlmutter
module load PrgEnv-gnu/8.3.3
module load gcc/11.2.0
# FC=gfortran cmake .. -DSERIAL=1
FC=gfortran cmake .. -DSERIAL=1 -DREAL=64 # enable double precision real number (note that the default precision for real number is single. See src/lib/mod_kinds.F90)
# FC='mpif90 -qopenmp' cmake .. -DSERIAL=1
make
cd CMakeFiles/neural.dir/
mv mod_activation.mod.stamp mod_activation.o
mv mod_io.mod.stamp mod_io.o
mv mod_kinds.mod.stamp mod_kinds.o
mv mod_layer.mod.stamp mod_layer.o
mv mod_mnist.mod.stamp mod_mnist.o
mv mod_network.mod.stamp mod_network.o
mv mod_parallel.mod.stamp mod_parallel.o
mv mod_random.mod.stamp mod_random.o
mv mod_ensemble.mod.stamp mod_ensemble.o
mv mod_dense_layer.mod.stamp mod_dense_layer.o
mv mod_batchnorm_layer.mod.stamp mod_batchnorm_layer.o
mv mod_dropout_layer.mod.stamp mod_dropout_layer.o