Skip to content

Conversation

@JanosJiri
Copy link
Contributor

No description provided.

@JanosJiri JanosJiri linked an issue Oct 15, 2024 that may be closed by this pull request
Comment on lines 30 to 36
- name: Add Intel repository
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update

Choose a reason for hiding this comment

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

You could use the setup-fortran action instead of all this setup.
https://github.com/fortran-lang/setup-fortran

(I've been meaning to try it out for ABIN but did not get to it yet, would be great if you could test it here!)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wow, nothing escapes your attention on GitHub. Thanks for the idea, I will give it a try, but I first need to understand how the whole stuff works. I copied that from ABIN but I need the fftw library first which I somehow can't figure out now. :D

Choose a reason for hiding this comment

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

FFTW probably needs to be compiled with the same compiler as qdyn, so you need to move the FFTW compilation after you setup the intel compiler.

I'd recommend just copying the fftw_build job from ABIN, where I install fftw via apt to avoid compilation. In that case, you need to use to default gfortran compiler otherwise the installed fftw apt package will not be compatible.

Choose a reason for hiding this comment

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

Wow, nothing escapes your attention on GitHub.

Haha, for some reason I am getting emails for each change on the qdyn repo :-D I was getting a lot of them today. :-P

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, cool, thanks for the advice, I will try it someday.

Haha, for some reason I am getting emails for each change on the qdyn repo :-D I was getting a lot of them today. :-P

I had no idea you were watching this repo. I was just playing around thinking no one would see it. :D

@JanosJiri
Copy link
Contributor Author

The testing was done in #18 in much cleaner way using ChatGPT suggestion. This PR was more of playing.

@JanosJiri JanosJiri deleted the testing branch April 28, 2025 12:07
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.

3 participants