Merge pull request #911 from edoapra/flaccid-fraction

more OpenBLAS updates
This commit is contained in:
NWChem: Open Source High-Performance Computational Chemistry 2023-11-16 12:04:20 -08:00 committed by GitHub
commit caaecc84b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -3878,7 +3878,7 @@ ifdef BUILD_OPENBLAS
DEFINES += -DOPENBLAS
endif
ifeq ($(shell echo $(BLASOPT) |awk '/openblas/ {print "Y"; exit}'),Y)
ifeq ($(shell $(NWCHEM_TOP)/src/config/oblas_ompcheck.sh),1)
ifeq ($(shell $(NWCHEM_TOP)/src/config/oblas_ompcheck.sh $(NWCHEM_TOP)),1)
OPENBLAS_USES_OPENMP = 1
LDOPTIONS += -fopenmp
endif

View file

@ -6,6 +6,7 @@
# oblas_name=openblas64
#echo "USE_OPENMP is equal to " $USE_OPENMP
mylog=/tmp/mylog.txt
NWCHEM_TOP=$1
file_check=$NWCHEM_TOP/src/oblas_ompcheck_done.txt
if [ -f $file_check ]; then
echo $file_check present >> $mylog