WarwickMicroscopy / Felix

Felix: Bloch wave method diffraction pattern simulation software
16 stars 10 forks source link

2003 FORTRAN compatibility? #150

Closed JacobJoseph-gu closed 7 years ago

JacobJoseph-gu commented 7 years ago

I think we should allow FORTRAN 2003 features. How problematic would it be to make sure any server banks or computers we wanted to use had semi-modern compilers?

There is FORTRAN 2008 and 2015, but those new features are unnecessary. The following is the international FORTRAN 2003 standards document, which I think is useful: https://gcc.gnu.org/wiki/GFortranStandards#Fortran_2003

JacobJoseph-gu commented 7 years ago

139 - issue related to compaitibility and lack of 2003 compilers

RudoRoemer commented 7 years ago

Why? Ie what features that are in f2003 do we need on Felix?

On 12 Aug 2017 12:35 p.m., JacobJoseph-gu notifications@github.com wrote:

I think we should allow FORTRAN 2003 features. How problematic would it be to make sure any server banks or computers we wanted to use had semi-modern compilers?

There is FORTRAN 2008 and 2015, but those new features are unnecessary. The following is the international FORTRAN 2003 standards document, which I think is useful: https://gcc.gnu.org/wiki/GFortranStandards#Fortran_2003

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/RudoRoemer/Felix/issues/150, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGvfSnIhxoxWEY6SrD0RfeTyiSZ-W1FRks5sXY3vgaJpZM4O1ZDO.

JacobJoseph-gu commented 7 years ago

Valid point, so far I think I've only used one 2003 feature mentioned in #139, which is minor and I will remove. Let's use FORTRAN 95 standard: https://gcc.gnu.org/wiki/GFortranStandards#Fortran_95 We should still keep in mind 2003 and 2008 standards, they will likely encourage good habits and future-proof code.

I will make the changes and then lets close this issue