[gpumd] Re: installation of gpumd

  • From: Bruce Fan <brucenju@xxxxxxxxx>
  • To: gpumd@xxxxxxxxxxxxx
  • Date: Mon, 25 Oct 2021 17:00:18 +0300

Hello,

It happens that I just wrote some "instructuons" for using GPUMD in Windows
for a friend.

Here they are:


1) Install Visual Studio. I have installed VS 2019 16.X community version,
which is free.

2) Install a CUDA toolkit. I have installed CUDA 10.2 before, but recently
updated to CUDA 11.2. When you install a CUDA toolkit for the first time,
you don't need to install an extra NVIDIA driver, but when you update your
CUDA version, you might need to update your NVIDIA driver too. The rule is
"driver version >= CUDA version". After installing CUDA, you should be able
to run *nvidia-smi* and *nvcc --version* in the command line to check if
everything is ok.

3) Download that 64-bit version of make.exe from the web as provided in the
GPUMD manual. Need to put this executable in src/ of GPUMD or somewhere in
your computer and set up a path to it.


4) A good way to compile CUDA code in Windows is to open a command line
that has loaded necessary MSVC environments. To do this, click *Start *(Window
icon), scroll to *Visual Studo 2019*, click "*x64 Native Tools Command
Prompt for VS 2019*" to open a command line that has loaded necessary MSVC
environments. In this command line, you should be able to run the
*cl.exe* executable.You
can then cd to the src/ directory and type make to compile GPUMD.

That's it. Feel free to ask if you have more questions.

Zheyong

1821ph08 <dmarc-noreply-outsider@xxxxxxxxxxxxx> 于 2021年10月25日周一 15:49写道:

Dear sir,
Please share a video on how to install gpumd in our window system and run
our simulation.

Thanks and Regards,
Puja Kumari
Research Scholar




Other related posts: