modern-fortran / neural-fortran

A parallel framework for deep learning
MIT License
395 stars 82 forks source link

please test with flang #185

Closed jeffhammond closed 1 week ago

jeffhammond commented 1 month ago

Can you please test with Flang? https://github.com/jeffhammond/HPCInfo/blob/master/buildscripts/llvm-git.sh will install it for you.

I tried but the CMake junk for HDF5 is not working and I do not have the patience to deal with CMake right now.

Thanks.

milancurcic commented 1 month ago

Sounds good, will try next week. Have you tried with fpm?

milancurcic commented 1 month ago

I'm currently blocked building HDF5 with flang-new because of https://github.com/HDFGroup/hdf5/issues/3731. HDF5 is currently a required dependency for neural-fortran, more out of laziness than by design.

I've been meaning to make HDF5 optional, which will simplify many things including this one.

milancurcic commented 1 week ago

The fixes are now merged into main and I added flang-new (is that the correct name for this compiler?) to the list of tested compilers. I'll close this now. Please reopen if something more is needed.