-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build with gfortran 9.3 #24
Comments
I'm kinda booked up right now, so I haven't put any time into looking for a solution. I can try in the next few weeks, though. For more info, see conda-forge/coretran-feedstock#1. |
Okay thanks for the heads up, I’ll take a look at 9.3 and see what I can do |
I just compiled successfully on my Mac using gfortran 10. However I have cmake handle the flags etc. required on my Mac. e.g. these are the flags for me. -Wl,-rpath,PATH-TO/coretran/lib PATH-TO/coretran/lib/libcoretran.dylib -std=f2008ts -cpp -ffree-line-length-none -fall-intrinsics -fno-underscoring -DNDEBUG -O3 -funroll-all-loops -finline-functions |
Actually I just ran into this.... Its because I re-import the deallocate and allocate functions.... So i just need to remove those from the submodules. Looks like gfortran 9+ has this limitation which is nice. |
Cool--thank you for looking into this, Leon. If you do make these changes, would you consider incrementing the version on coretran (e.g., to 1.0.1)? The conda-forge bot will pick up on the new version and attempt to rebuild the package. |
No problem. I made the changes already and I’ll update the version number as soon as I can! |
Also! Once this is working again, could you please add some info to the readme about installation via conda? I have no idea whose really using coretran but it would be great if users had that flexibility!! |
Absolutely! I'd be happy to do so. I'll send you a PR. |
Okay, new release done, 1.0.1! |
Excellent! Thank you for doing this, Leon. The conda-forge bot successfully rebuilt coretran with gfortran 7 and 9. (I still owe you a few sentences on installing coretran through conda.) |
With gfortran 9.3, building coretran fails on Linux and macOS.
Here's a sample traceback on macOS:
The text was updated successfully, but these errors were encountered: