boriskaus / MagmaThermoKinematics.jl

Package to simulate the thermal evolution of magmatic systems
MIT License
15 stars 3 forks source link

The test conducted on the Linux system encountered an error. #11

Closed Search-Enemy closed 4 months ago

Search-Enemy commented 6 months ago

I would like to ask if the running method of calling GPU for calculation in the package includes the windows platform? Because when I modified USE_GPU to true, an incomprehensible error occurred and I am a newbi issue e.

boriskaus commented 6 months ago

I don't actually know and we can't test since we do not have a windows machine with CUDA graphics card.

What you can do in windows is install WSL (linux that runs on windows), provided you have windows 10 or 11, and install Julia in there. That likely supports this better.

boriskaus commented 6 months ago

you can also try installing ParallelStencil separately on your machine and run their test-suite to see of it works. Make sure to use Julia 1.10

Search-Enemy commented 6 months ago

Thank you. According to your last answer, I spent several days installing the Ubuntu system separately (not WSL). Here is my device information, I wonder if it meets this requirement (happen to have a machine with an NVIDIA graphics card built in). 3874729c4804ebb813f172adfdca3573

My Julia package version is as follows. EED42904559D1B71461EEA856DCFAFAE 1DA8A3D0F03F2F5A54A903FE51B889BE

After I installed MagmaThermoKinematics.jl, I immediately ran the test command. 6E1DC4C1D291F33FD782AAD91EA3A52C

After some time, or I can say after the tests were completed, the following error occurred. 8E98DEEAC99329141FDD0202FC7B737C 226C74235D352C48B21620CECA55B585

Do you happen to know the possible reasons for this error?

boriskaus commented 6 months ago

Seems to be a roundoff error - I wouldn’t worry too much about it.