Skip to content
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

Update compiler versions in Docker container #142

Merged

Conversation

valeriaRaffuzzi
Copy link
Member

@valeriaRaffuzzi valeriaRaffuzzi commented Dec 18, 2024

Upgrade compiler versions consistently with the upgrade in the Docker container.

NOTE: The tests should fail until the PR to upgrade the Docker container is accepted.

@valeriaRaffuzzi valeriaRaffuzzi marked this pull request as draft December 18, 2024 12:29
@Mikolaj-A-Kowalski
Copy link
Collaborator

Actually the containers are already there. But we have this single failure in the debug job.
We need to figure out what is going on there with gfortran12.

@valeriaRaffuzzi valeriaRaffuzzi marked this pull request as ready for review December 22, 2024 09:55
Comment on lines +213 to +214
! Associate pointer to pass tests in debug mode
p % pRNG => pRNG
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know why it was unhappy?
Was it because we provide the pointer later to a function with a non-pointer dummy argument (if it is the case thank you GCC!)

Copy link
Member Author

@valeriaRaffuzzi valeriaRaffuzzi Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so. The error I was getting was because the particle gets passed to a few functions (something like mgDatabase % getTrackingXS -> mgDatabase % getTotalXS -> mgMaterial % getTotalXS) and eventually p % pRNG is an argument, and the problem was that this is a pointer and it was unassigned.

@valeriaRaffuzzi valeriaRaffuzzi merged commit 4a28285 into CambridgeNuclear:main Dec 23, 2024
5 checks passed
@valeriaRaffuzzi valeriaRaffuzzi deleted the update_docker_compilers branch December 23, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants