-
Notifications
You must be signed in to change notification settings - Fork 122
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
Potential IFX issue #2187
Comments
Even though you are using a release build, you may still be able to turn on debug and traceback information from the visual studio fortran options in the hopes that you can either debug the release version or see what line number is causing the failure. Just a thought. Would be nice to get to the bottom of this. Note that there are recent changes in the memory manager by @Manangka for deallocation -- not sure if this is related. |
I just came across this issue and have a bit more information. The following is the error that I get.
Memory.F90 shows the following. Line 150 corresponds to the gfortran < 13 deallocate line. Is it possible that the directives are not set up correctly or that GFORTRAN is not set right? I think maybe the first deallocate should only be for the gfortran versions (and not ifx or others)?
|
@emorway-usgs Which ifx compiler are you using? I'm trying to reproduce it on my machine but with ifx "Version 2025.0.4 Build 20241205" all the tests succeed. Edit: Edit2: |
@Manangka windows / intel 2025.0 release build fails the same tests in CI. https://github.com/MODFLOW-USGS/modflow6/actions/runs/13113756240/job/36583144940#step:16:7604 I'll take a look at the PRT snapshot tests. Can probably either tweak floating point options for ifx in No idea why we are seeing different results than @langevin-usgs and @emorway-usgs. |
Those are indeed the same failing tests as I have. The failing sfr/sfe tests seem to be caused by commit 0247b7e. When reverted they succeed again. |
@emorway-usgs and I just had a call and we found out what is causing the differences in error. I will create a PR to fix the vsproj settings |
Sorry @Manangka, I should have thought of that. I was also building with vsproj, so that explains why the directive wasn't working correctly for me -- the source file wasn't being preprocessed. |
Describe the bug
I'm wondering if CI checks whether IFX is working with the latest source code? Something seems off with the latest IFX compiler. Most, but not all, autotests seem to fail with an executable compiled by IFX. The message is consistently: "A pointer passed to DEALLOCATE points to an object that cannot be deallocated." Pasting a screen grab below. Given the extensive number of builds that are tested with CI, it seems like this might be an issue with IFX rather than the source code. The autotests that fail using an IFX executable pass if I replace the executable with the most recent exe from the nightly builds ("win64.zip"). If I build a debug version using the IFX compiler, it does not produce the error, making it difficult to track down (in Windows) which pointer it doesn't seem to like.
To reproduce
Using the most recent BaseKit and HPC Build Kits available with OneAPI
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Environment
The text was updated successfully, but these errors were encountered: