mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-12-21 11:03:29 +01:00
comments
This commit is contained in:
parent
adc94fcb29
commit
7fcd03b911
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# go in qp2/src/fci to run check_omp_actual_setup
|
||||||
|
# to see if we can run in parallel an omp section in another one
|
||||||
echo ""
|
echo ""
|
||||||
echo "Please wait..."
|
echo "Please wait..."
|
||||||
echo ""
|
echo ""
|
||||||
|
@ -1,17 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# list of compilers
|
||||||
list_comp="ifort gfortran-7 gfortran-8 gfortran-9"
|
list_comp="ifort gfortran-7 gfortran-8 gfortran-9"
|
||||||
|
|
||||||
|
# file to store the results
|
||||||
FILE=results.dat
|
FILE=results.dat
|
||||||
|
|
||||||
touch $FILE
|
touch $FILE
|
||||||
rm $FILE
|
rm $FILE
|
||||||
|
|
||||||
|
# Comments
|
||||||
echo "1: omp_set_max_active_levels(5)" >> $FILE
|
echo "1: omp_set_max_active_levels(5)" >> $FILE
|
||||||
echo "2: omp_set_nested(.True.)" >> $FILE
|
echo "2: omp_set_nested(.True.)" >> $FILE
|
||||||
echo "3: 1 + 2" >> $FILE
|
echo "3: 1 + 2" >> $FILE
|
||||||
echo "" >> $FILE
|
echo "" >> $FILE
|
||||||
echo "1 2 3" >> $FILE
|
echo "1 2 3" >> $FILE
|
||||||
|
|
||||||
|
# loop on the comp
|
||||||
for comp in $list_comp
|
for comp in $list_comp
|
||||||
do
|
do
|
||||||
$comp --version > /dev/null \
|
$comp --version > /dev/null \
|
||||||
@ -20,5 +25,6 @@ do
|
|||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Display
|
||||||
cat $FILE
|
cat $FILE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user