Skip to content

Commit

Permalink
240304.001604.HKT revise fortran/examples/ntest
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Mar 3, 2024
1 parent 949502e commit 2b8cdc4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion fortran/examples/bobyqa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ gtest: FC := gfortran -Wall -Wextra -Wno-function-elimination -std=f$(FSTD) -fal
itest: FC := ifort -warn all -stand f$(FS) -diag-disable=10448 # 10448: suppress the warning about deprecation of ifort.

# NAG nagfor
ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
#ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
ntest: FC := nagfor -C -f$(FSTD) -fpp -nan -ieee=full # `-nan -ieee=full` is to accommodate tests with REAL16.

# NVIDIA nvfortran (aka, pgfortran)
VFORT := $(shell find -L /opt/nvidia -type f -executable -name nvfortran -print 2> /dev/null | sort | tail -n 1)
Expand Down
3 changes: 2 additions & 1 deletion fortran/examples/cobyla/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ gtest: FC := gfortran -Wall -Wextra -Wno-function-elimination -std=f$(FSTD) -fal
itest: FC := ifort -warn all -stand f$(FS) -diag-disable=10448 # 10448: suppress the warning about deprecation of ifort.

# NAG nagfor
ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
#ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
ntest: FC := nagfor -C -f$(FSTD) -fpp -nan -ieee=full # `-nan -ieee=full` is to accommodate tests with REAL16.

# NVIDIA nvfortran (aka, pgfortran)
VFORT := $(shell find -L /opt/nvidia -type f -executable -name nvfortran -print 2> /dev/null | sort | tail -n 1)
Expand Down
3 changes: 2 additions & 1 deletion fortran/examples/lincoa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ gtest: FC := gfortran -Wall -Wextra -Wno-function-elimination -std=f$(FSTD) -fal
itest: FC := ifort -warn all -stand f$(FS) -diag-disable=10448 # 10448: suppress the warning about deprecation of ifort.

# NAG nagfor
ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
#ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
ntest: FC := nagfor -C -f$(FSTD) -fpp -nan -ieee=full # `-nan -ieee=full` is to accommodate tests with REAL16.

# NVIDIA nvfortran (aka, pgfortran)
VFORT := $(shell find -L /opt/nvidia -type f -executable -name nvfortran -print 2> /dev/null | sort | tail -n 1)
Expand Down
3 changes: 2 additions & 1 deletion fortran/examples/newuoa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ gtest: FC := gfortran -Wall -Wextra -Wno-function-elimination -std=f$(FSTD) -fal
itest: FC := ifort -warn all -stand f$(FS) -diag-disable=10448 # 10448: suppress the warning about deprecation of ifort.

# NAG nagfor
ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
#ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
ntest: FC := nagfor -C -f$(FSTD) -fpp -nan -ieee=full # `-nan -ieee=full` is to accommodate tests with REAL16.

# NVIDIA nvfortran (aka, pgfortran)
VFORT := $(shell find -L /opt/nvidia -type f -executable -name nvfortran -print 2> /dev/null | sort | tail -n 1)
Expand Down
3 changes: 2 additions & 1 deletion fortran/examples/uobyqa/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ gtest: FC := gfortran -Wall -Wextra -Wno-function-elimination -std=f$(FSTD) -fal
itest: FC := ifort -warn all -stand f$(FS) -diag-disable=10448 # 10448: suppress the warning about deprecation of ifort.

# NAG nagfor
ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
#ntest: FC := nagfor -C -f$(FSTD) -fpp # As of nagfor 7.1, -fpp is needed on macOS and Windows, but not on Linux.
ntest: FC := nagfor -C -f$(FSTD) -fpp -nan -ieee=full # `-nan -ieee=full` is to accommodate tests with REAL16.

# NVIDIA nvfortran (aka, pgfortran)
VFORT := $(shell find -L /opt/nvidia -type f -executable -name nvfortran -print 2> /dev/null | sort | tail -n 1)
Expand Down

0 comments on commit 2b8cdc4

Please sign in to comment.