From 9fa2f3c33b8737ffb9ced9709a889acaab99ef3b Mon Sep 17 00:00:00 2001 From: lewis mcmillan Date: Fri, 15 Nov 2024 14:56:34 +0000 Subject: [PATCH] change fpm.rsp to use gfortran-10 and added -fPIE for intel to compile code --- fpm.rsp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/fpm.rsp b/fpm.rsp index e9a87e7..3cc907c 100644 --- a/fpm.rsp +++ b/fpm.rsp @@ -1,24 +1,24 @@ @buildmp -option build --compiler gfortran --profile debug --flag "-fopenmp" +option build --compiler gfortran-10 --profile debug --flag "-fopenmp" @buildintel option build --compiler ifort @runmp -option run sMCRT --compiler gfortran --profile release --flag "-fopenmp -O3 -flto -march=native -fPIC -funroll-loops -fstack-arrays" +option run sMCRT --compiler gfortran-10 --profile release --flag "-fopenmp -O2 -flto -march=native -fPIC -funroll-loops -fstack-arrays" @debug -option run sMCRT --compiler gfortran --flag "-O2 -march=native -flto -mavx -g -fbacktrace -fcheck=all -fbounds-check -ffpe-trap=invalid,overflow,underflow,denormal" +option run sMCRT --compiler gfortran-10 --flag "-O2 -march=native -flto -mavx -g -fbacktrace -fcheck=all -fbounds-check -ffpe-trap=invalid,overflow,underflow,denormal" @debugmp -option run sMCRT --compiler gfortran --flag "-fopenmp -O2 -march=native -flto -mavx -g -fbacktrace -fcheck=all -fbounds-check -ffpe-trap=invalid,overflow,underflow,denormal -fstack-arrays" +option run sMCRT --compiler gfortran-10 --flag "-fopenmp -O2 -march=native -flto -mavx -g -fbacktrace -fcheck=all -fbounds-check -ffpe-trap=invalid,overflow,underflow,denormal -fstack-arrays" @test -option test --compiler gfortran --flag "-O0 -fprofile-arcs -ftest-coverage --coverage" +option test --compiler gfortran-10 --flag "-O0 -fPIE -fprofile-arcs -ftest-coverage --coverage" @testdebug -option test --compiler gfortran --flag "-O0 -g -fbacktrace -fcheck=all -ffpe-trap=invalid,overflow,underflow,denormal" +option test --compiler gfortran-10 --flag "-O0 -g -fbacktrace -fcheck=all -ffpe-trap=invalid,overflow,underflow,denormal" @testintel @@ -26,7 +26,7 @@ option test --compiler ifort @runnv -option run sMCRT --compiler nvfortran --flag "-fast -Mbackslash" +option run sMCRT --compiler nvfortran --flag "-Mbackslash -Minform=inform -C -g -Mbackslash -Mbounds -Mchkstk -traceback" @runifort option run sMCRT --compiler ifort --profile release --flag "-qopenmp"