diff --git a/installation/docker/docker_base/install_fortran.sh b/installation/docker/docker_base/install_fortran.sh index 2b92e14..92d475e 100755 --- a/installation/docker/docker_base/install_fortran.sh +++ b/installation/docker/docker_base/install_fortran.sh @@ -41,8 +41,8 @@ apt --yes install gnuplot ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./toolbox.f90 -o toolbox.o # copy the toolbox to the working directory mkdir -p /usr/local/include diff --git a/installation/docker/docker_vnc/install_fortran.sh b/installation/docker/docker_vnc/install_fortran.sh index e68f756..6a9662a 100755 --- a/installation/docker/docker_vnc/install_fortran.sh +++ b/installation/docker/docker_vnc/install_fortran.sh @@ -79,8 +79,8 @@ mv ./geany.conf /root/.config/geany/geany.conf ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./toolbox.f90 -o toolbox.o # copy the toolbox to the working directory mkdir -p /usr/local/include diff --git a/installation/mac/install_fortran.command b/installation/mac/install_fortran.command index d50c7d0..754822a 100755 --- a/installation/mac/install_fortran.command +++ b/installation/mac/install_fortran.command @@ -72,8 +72,8 @@ sudo mv ./geany.conf ~/.config/geany/geany.conf ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o # copy the toolbox to the working directory sudo mkdir -p /usr/local/include diff --git a/installation/mac/update_toolbox.command b/installation/mac/update_toolbox.command index 57d6e6e..09ccbbf 100755 --- a/installation/mac/update_toolbox.command +++ b/installation/mac/update_toolbox.command @@ -31,8 +31,8 @@ fi ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o # copy the toolbox to the working directory sudo mkdir -p /usr/local/include diff --git a/installation/ubuntu/install_fortran.sh b/installation/ubuntu/install_fortran.sh index 6fd1f77..28fe050 100755 --- a/installation/ubuntu/install_fortran.sh +++ b/installation/ubuntu/install_fortran.sh @@ -89,8 +89,8 @@ sudo chown $USER:$USER -c ~/Desktop/geany.desktop ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o # copy the toolbox to the working directory sudo sudo mkdir -p /usr/local/include diff --git a/installation/ubuntu/update_toolbox.sh b/installation/ubuntu/update_toolbox.sh index 7147918..4cc1a4c 100755 --- a/installation/ubuntu/update_toolbox.sh +++ b/installation/ubuntu/update_toolbox.sh @@ -37,8 +37,8 @@ fi ## INSTALL THE TOOLBOX # compile the toolbox -gfortran -c -Werror -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o # copy the toolbox to the working directory sudo mkdir -p /usr/local/include diff --git a/installation/windows/install_fortran.bat b/installation/windows/install_fortran.bat index 6c0ff37..bad34b7 100644 --- a/installation/windows/install_fortran.bat +++ b/installation/windows/install_fortran.bat @@ -154,8 +154,8 @@ move geany.conf "%userprofile%\AppData\Roaming\geany\geany.conf" :: INSTALL THE TOOLBOX -gfortran -c -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../../toolbox/toolbox.f90 -o toolbox.o mkdir "%location%\include\" 2>nul del /Q "%location%\include\toolbox.mod" 2>nul del /Q "%location%\include\toolbox.o" 2>nul diff --git a/installation/windows/update_toolbox.bat b/installation/windows/update_toolbox.bat index cc81913..c5b4cac 100644 --- a/installation/windows/update_toolbox.bat +++ b/installation/windows/update_toolbox.bat @@ -55,8 +55,8 @@ if %exitres%==T exit :: INSTALL THE TOOLBOX -gfortran -c -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o -gfortran -c -O3 -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o +gfortran -c -Werror -fopenmp -Wno-unused -ffree-line-length-none -fimplicit-none -Wall -fcheck=bound,do -ffpe-trap=invalid,zero,overflow -frecursive -g ./../toolbox/toolbox.f90 -o toolbox_debug.o +gfortran -c -O3 -fopenmp -ffree-line-length-none ./../toolbox/toolbox.f90 -o toolbox.o mkdir "%location%\include\" 2>nul del /Q "%location%\include\toolbox.mod" 2>nul del /Q "%location%\include\toolbox.o" 2>nul