Lines Matching +full:- +full:f

4 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
8 # libraries and APIs for efficient high-order finite element and spectral
12 # The CEED research is supported by the Exascale Computing Project (17-SC-20-SC)
48 if [[ "${#BASH_ARGV[@]}" -ne "$#" ]]; then
72 -h|-help Print this usage information and exit
73 -c|-ceed Ceed backend to be used for the run (optional, default: /cpu/self)
74 -e|-example Example name (optional, default: bp1)
75 -n|-np Specify number of MPI ranks for the run (optional, default: 1)
76 -t|-test Run in test mode (not on by default)
77 -b|-box Box case in boxes sub-directory found along with this script (default: 2x2x2)
78 -clean clean the examples directory
79 -m|-make Make the examples
83 ./nek-examples.sh -m -e \"bp1 bp3\"
85 ./nek-examples.sh -c /cpu/self -e \"bp1 bp3\" -n 4 -b 3
87 ./nek-examples.sh -clean
93 while [ $# -gt 0 ]; do
95 -h|-help)
99 -e|-example)
103 -c|-ceed)
107 -n|-np)
111 -b|-box)
115 -t|-test)
120 -clean)
124 -m|-make)
134 CFLAGS="-fPIC"
135 …FFLAGS="-g -std=legacy -I${CEED_DIR}/include -ffixed-line-length-132 -DEXAMPLE_DIR='\"${PWD}/\"' -
136 USR_LFLAGS="-g -L${CEED_DIR}/lib -Wl,-rpath,${CEED_DIR}/lib -lceed -fPIC"
142 if [[ ! -d build ]]; then
147 if [[ ! -f build/makenek ]]; then
155 if [[ ! -f build/SIZE ]]; then
167 if [ ! -f ./nek5000 ]; then
185 if [[ -f ./build/makenek ]]; then
192 rm -rf build
195 rm -f bps *log* SESSION.NAME 2> /dev/null
198 find ${nek_box_dir} -type d -regex ".*/b[0-9]+" -exec rm -rf "{}" \; 2>/dev/null
211 if [ $((prod%3)) -ne 0 ]; then
214 if [ $((prod%3)) -eq 2 ]; then
232 if [ -z ${NEK5K_TOOLS_DIR} ]; then
257 if [ $# -ne 2 ]; then
260 echo "Example: generate-boxes 2 4"
267 mkdir -p ${nek_box_dir} && cd ${nek_box_dir}
272 if [ ! -f b$i/b$i.map ]; then
275 nex=$( echo $xyz | cut -f 1 -d ' ' )
276 ney=$( echo $xyz | cut -f 2 -d ' ' )
277 nez=$( echo $xyz | cut -f 3 -d ' ' )
279 mkdir -p b$i
280 sed "5s/.*/-$nex -$ney -$nez/" ${CEED_DIR}/examples/nek/boxes/b.box > b$i/b$i.box
302 if [ ! -f $bps ]; then
303 echo " Examples file does not exist. Build it with nek-examples.sh -m"
308 if [ ! -f ${nek_box_dir}/b${nek_box}/b${nek_box}.rea ] || \
309 [ ! -f ${nek_box_dir}/b${nek_box}/b${nek_box}.map ]; then
310 if [ -z ${nek_box} ]; then
322 rm -f logfile
323 rm -f ioinfo
331 ${MPIEXEC:-mpiexec} -np ${nek_np} ./build/bps ${nek_ex} ${nek_spec} ${nek_test} > \
346 rm -f ${nek_ex}.${nek_spec_short}.log*