Cambridge-ICCS / FTorch

A library for directly calling PyTorch ML models from Fortran.
https://cambridge-iccs.github.io/FTorch/
MIT License
48 stars 11 forks source link

Fortran compatibility #130

Open ElliottKasoar opened 1 month ago

ElliottKasoar commented 1 month ago

We should probably explicitly state which Fortran standards we support.

Ideally, we might test against different standards, if that's possible (maybe via the -std gfortran compile flag - if so, we may want to open a separate issue, and keep this one focused on documentation)?

jatkinson1000 commented 3 weeks ago

My thoughts here are can we write something to test this automatically?

Like a workflow that iterates over the various standards and builds FTorch with different flags?

jatkinson1000 commented 3 hours ago

Discussion with @TomMelt We will set FTorch to require Fortran 2008 in the documentation. See comments on #145 for further development.