Hi Zhang,

Thanks for your interest in PyFR. If you run pyfr-sim -h you will get:

usage: pyfr-sim [-h] [--verbose] [--backend BACKEND] [--progress]
                [--nansweep N]
                {run,restart} ...

Runs a PyFR simulation

positional arguments:
  {run,restart}         sub-command help
    run                 run --help
    restart             restart --help

optional arguments:
  -h, --help            show this help message and exit
  --verbose, -v
  --backend BACKEND, -b BACKEND
                        Backend to use
  --progress, -p        show a progress bar
  --nansweep N, -n N    check for NaNs every N steps

Note the -b option to choose the backend you want to run with.

The default is -b cuda which will run the CUDA backend and look for an Nvidia 
GPU. If you want to use your CPU you can use the -b openmp backend, and if you 
want to use your AMD GPU you will need to use the -b opencl backend. However 
note the dependencies listed here http://www.pyfr.org/user_guide.php for each 
backend.

Cheers

Peter

Dr Peter Vincent MSci ARCS DIC PhD
Senior Lecturer and EPSRC Early Career Fellow
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ

email: [email protected]<mailto:[email protected]>
web: 
www.imperial.ac.uk/aeronautics/research/vincentlab/<http://www.imperial.ac.uk/aeronautics/research/vincentlab/>
twitter: @Vincent_Lab<https://twitter.com/#!/Vincent_Lab>

On 9 Sep 2014, at 18:04, Zhang Wei 
<[email protected]<mailto:[email protected]>> wrote:

Dear Prof. Vincent:
can I turn of cuda and make comparison for pure cpu and by cuda accelerations?
because I noticed even if when I don't have have backend-cuda, still the solver 
will run on graphic card.

cheers
----------------------------------------------
Zhang Wei
[email protected]<mailto:[email protected]>



On 17 Aug, 2014, at 11:09 pm, Vincent, Peter E <[email protected]> wrote:

Not at the moment I'm afraid.

Cheers

Peter

On 17 Aug 2014, at 08:01, Zhang Wei <[email protected]> wrote:

Dear Pyfrer:
I am very new to pyfr. I want to know does pyfr support quasi 2D simulation 
with one direction by spectrum method?

cheers
----------------------------------------------
Zhang Wei
[email protected]



--
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.



-- 
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