flatironinstitute / FMM3D

Flatiron Institute Fast Multipole Libraries --- This codebase is a set of libraries to compute N-body interactions governed by the Laplace and Helmholtz equations, to a specified precision, in three dimensions, on a multi-core shared-memory machine.
https://fmm3d.readthedocs.io
Other
91 stars 36 forks source link

NAG Fortran compiler #33

Closed coffee-addict closed 6 months ago

coffee-addict commented 1 year ago

@mrachh Hello, I have added make.inc.nag for NAG Fortran compiler and made non-essential but some changes in the source code.

My local machine works on Ubuntu 20.04.6 LTS with a standard x86-64 architecture. Both make install and make test are successful using gfortran-9 with the changes. (The paths of included text files need to be changed back to the previously set relative paths in src/Helmholtz/hwts3e.f to use gfortran, though.)

The current results obtained using the NAG compiler are the following.

I would appreciate it if you could look at the changes of this pull request at your convenience.