Hi, everyone

I have problem on how to monitor the GPU usage of PyFR.

I am using cuda backend runs euler_vortex_2d case. The platform is a ubuntu 
12.04 system with 64 AMD cores and NV GT620 (96 cores, cuda 7.0 installed 
), while I run the case without partition
pyfr run -b CUDA -p euler_vortex_2d.pyfrm euler_vortex_2d.ini
Here is the output
 100.0% 
[=================================================================================>]
 
100.00/100.00 ela: 00:01:16 rem: 00:00:0

And I was using 
nvidia-smi

to monitor the GPU usage, here is the output:
 
Wed Jun 24 16:40:06 2015 
+------------------------------------------------------+ 
| NVIDIA-SMI 346.46 Driver Version: 346.46 | 
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GT 620 Off | 0000:03:00.0 N/A | N/A |
| 69% 42C P0 N/A / N/A | 71MiB / 1023MiB | N/A Default |
+-------------------------------+----------------------+----------------------+
 
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 C Not Supported |
+-----------------------------------------------------------------------------+

I am sure the PyFR is running when I use nvidia-smi command. But GT620 does 
not support displaying GPU usage. How can I know how many cores am I using?

another problem is when I use more CPU cores for OpenMP backend, it runs 
slower
$ export OMP_NUM_THREADS=32
$ pyfr run -b OPENMP -p euler_vortex_2d.pyfrm euler_vortex_2d.ini
 100.0% 
[=================================================================================>]
 
100.00/100.00 ela: 00:01:52 rem: 00:00:00
$ export OMP_NUM_THREADS=64
$ pyfr run -b OPENMP -p euler_vortex_2d.pyfrm euler_vortex_2d.ini
 100.0% 
[=================================================================================>]
 
100.00/100.00 ela: 00:02:12 rem: 00:00:00

And I am confused with the relationship between mpirun and openmp. It seems 
that mpirun -n N and  OMP_NUM_THREADS=M means M*N CPU cores are used. Am I 
right?




-- 
You received this message because you are subscribed to the Google Groups "PyFR 
Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
Visit this group at http://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply via email to