12 lines
283 B
Bash
Executable File
12 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
if [[ $(hostname -s) =~ ^head[0-9]+$ ]] || [[ $(hostname -s) =~ ^node[0-9]+$ ]]; then
|
|
# Elwetritsch cluster - heads or nodes
|
|
module load qt/5.5
|
|
fi
|
|
cd ..
|
|
rm -rf build
|
|
mkdir build
|
|
cd build
|
|
qmake ../DRAMSys/DRAMSys.pro
|
|
make -j `cat /proc/cpuinfo | grep processor | wc -l`
|