-
Notifications
You must be signed in to change notification settings - Fork 58
Running without Torque #28
Comments
It looks a little trick to get vasp to run in parallel outside of the queue. Here are a few ways you could try it.
Another approach is:
|
Thanks! The solution is indeed easy, and your reply got me off on the right track. The first step is to define the runvasp.py script in my original message. The second step is to use the runvasp.py script as the serial executable. (Duh. Sort of obvious.) For future Mac users, this is easily done by changing one line in the distributed vasprc.py:
The calculator now runs the serial program that runs the parallel process. To avoid having to add the "Vasp.vasprc(mode='run')" line to each script, the default 'mode' setting should be changed in vasprc.py as follows:
Melissa |
Following up on this thread, I think there may be a small naming issue. Suppose you want to switch between different versions of VASP (e.g., std and gam). One logical way to do this would be to change the entry in VASPRC as follows:
Unfortunately, this leads to the following error:
The issue are the two periods in 'vasp.executable.serial' as described here: One fix would be to rename the keys to 'vasp_executable_serial' and 'vasp_executable_parallel'. |
VASPRC is a dictionary. so you should do something like this: vasp.vasprc is not callable like you are trying to do. |
Thank you for your reply. I know VASPRC is a dictionary. In your reply to zezhong-zhang from a few days ago, you suggested calling Vasp.vasprc directly:
This is a minor issue, and your suggestion above also works. |
Thank you very much for making this available. It looks like a very worthy successor to jasp and a great complement to your book.
Like zezhong-zhang from a few days ago, I am trying to get this running, ideally in parallel, on a Mac, so I do not have Torque running a queue. I can get it to run serially by changing one line in vasprc.py:
vs = '/Users/mah/VASP/src/vaspSol.5.4.1/bin/vasp_std'
where the path is to my installation of vasp. I also added "Vasp.vasprc(mode='run')" to my script (the suggestion from your answer to zezhong-zhang).
Is there any way for me to run vasp in parallel without Torque? When I use ASE, I just put the following in runvasp.py:
My guess is that I am missing something very simple, so thank you for your help.
Melissa
The text was updated successfully, but these errors were encountered: