SarahwXU / HiSup

MIT License
128 stars 18 forks source link

Environment problem about afm module #27

Closed lachaohaoxuexi closed 5 months ago

lachaohaoxuexi commented 6 months ago

Hello,thanks for your great and interesting work! However,when I tried to follow your work,some problems occured. At first,I tried to compile afm module following your instructions,the output is 01 02 I noticed that the image shows I used cuda-10.1 But I have installed cudatoolkit=11.0 in conda environment,when I conda list, it shows 03 I have a feeling it might be that my cudatoolkit is not added to the environment variables.

When I tried to solve this, I also tried the solution mentioned in #13 .However,the files compiled by RTX3090 seem to have some problems running on RTX2080ti, or maybe you are compiling with a CUDA version that doesn't match my server's CUDA version. 04

For now I don't know how to fix it so I'm here to ask for advice.Looking forward to your reply,thanks!

lachaohaoxuexi commented 6 months ago

Although the compilation still fails, I got my version of cuda to adapt and the following error occurs when using the compiled HiSup 06

lachaohaoxuexi commented 5 months ago

Solved.The key to solving the problem is to have cudatoolkit version 11.0 and above, and add it to the environment variable via the vim command.