Skip to content

Commit

Permalink
Merge pull request #13783 from gforney/master
Browse files Browse the repository at this point in the history
change linux and windows fds2ascii build targets and linux test_mpi build target to use ifx
  • Loading branch information
gforney authored Nov 20, 2024
2 parents 16357c3 + d898ec7 commit 3c65867
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Utilities/fds2ascii/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ no_target:
$(FC) -c $(FFLAGS) $(FILTERF) $<

intel_win : FFLAGS = -O2 /nologo /fpscomp:general $(GITINFO)
intel_win : FC = ifort
intel_win : FC = ifx
intel_win : exe = fds2ascii_intel_win.exe
intel_win : $(objwin)
$(FC) -o $(bin)/$(exe) $(objwin)
Expand All @@ -67,7 +67,7 @@ gnu_osx : $(obj)
$(FC) -o $(bin)/$(exe) $(obj)

intel_linux : FFLAGS = -O2 -m64 $(GITINFO)
intel_linux : FC = ifort
intel_linux : FC = ifx
intel_linux : exe = fds2ascii_intel_linux
intel_linux : $(obj)
$(FC) -o $(bin)/$(exe) $(obj)
Expand Down
5 changes: 4 additions & 1 deletion Utilities/test_mpi/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,17 @@ impi_intel_win: MPILIB = "$(I_MPI_RELEASE_ROOT)\impi.lib"
impi_intel_win: MPIINCLUDE = "$(IMPI_INCLUDE)"
impi_intel_win: FFLAGS = /Qipo /O2 /I$(MPIINCLUDE) -fc=ifort
impi_intel_win: FCOMPL = mpiifort
#compilation crashes when using the following two lines instead of above two lines
#impi_intel_win: FFLAGS = /Qipo /O2 /I$(MPIINCLUDE) -fc=ifx
#impi_intel_win: FCOMPL = mpiifx
impi_intel_win: obj = test_mpi
impi_intel_win: setup_win $(objwin_mpi)
$(FCOMPL) -o $(obj) $(FFLAGS) /F1000000000 $(objwin_mpi) $(MPILIB)

# Linux

impi_intel_linux: FFLAGS = -m64 -O2 -traceback -no-wrap-margin
impi_intel_linux: FCOMPL = mpiifort
impi_intel_linux: FCOMPL = mpiifx
impi_intel_linux: obj = test_mpi
impi_intel_linux: $(obj_mpi)
$(FCOMPL) -o $(obj) $(FFLAGS) $(obj_mpi)
Expand Down

0 comments on commit 3c65867

Please sign in to comment.