<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Quantum Espresso batch file.</title>
  <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_thread?p_l_id=&amp;threadId=634609" />
  <subtitle>Quantum Espresso batch file.</subtitle>
  <entry>
    <title>RE: Quantum Espresso batch file.</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=658290" />
    <author>
      <name>Glenn K. Lockwood</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=658290</id>
    <updated>2014-02-05T05:01:17Z</updated>
    <published>2014-02-05T05:01:17Z</published>
    <summary type="html">This will happen if your job script is loading the incorrect mpi modules and/or you&amp;#039;re using the wrong mpi launcher.  For example if you built QE with mvapich2_ib but load openmpi_ib and use mpirun. you will see a bazillion copies of the program running independently instead of having them all run as a single MPI instance.&lt;br /&gt;&lt;br /&gt;You may want to use something like &amp;#034;vimdiff&amp;#034; to compare the job script you used to submit your first (successful) run to your second (unsuccessful) restart.  Make sure the modules being loaded/unloaded/swapped are identical, and make sure you&amp;#039;re using the same mpi launcher (mpirun_rsh/mpirun/mpiexec.hydra).&lt;br /&gt;&lt;br /&gt;If nothing obvious jumps out, feel free to send your job script to help@xsede.org and we can take a closer look.&lt;br /&gt;&lt;br /&gt;Glenn</summary>
    <dc:creator>Glenn K. Lockwood</dc:creator>
    <dc:date>2014-02-05T05:01:17Z</dc:date>
  </entry>
  <entry>
    <title>RE: Quantum Espresso batch file.</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=636661" />
    <author>
      <name>Jeff Pummill</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=636661</id>
    <updated>2013-12-19T22:37:57Z</updated>
    <published>2013-12-19T22:37:57Z</published>
    <summary type="html">Hey Junyue,&lt;br /&gt;&lt;br /&gt;First, I&amp;#039;d try and simplify things a bit. It seems like you&amp;#039;re trying to do a lot of different things in your PBS script. I typically do place all of my data in /scratch rather than /home to run simulations. Just simplifies moving things around with the script(s).&lt;br /&gt;&lt;br /&gt;So, try and re-write a much simpler PBS script to merely run the job, then add to it as you get more comfortable with the machine environment. Look at examples in the Gordon User Guide: https://portal.xsede.org/web/xup/sdsc-gordon&lt;br /&gt;&lt;br /&gt;The error about not finding the .in file can likely be remedied by specifying the full path to the file rather than just the name itself. The problem with &amp;#034;==&amp;#034; I am not sure....maybe something that PBS does not support? Just a guess, but again...simplifying the script to do the bare minimum will help out in the beginning.</summary>
    <dc:creator>Jeff Pummill</dc:creator>
    <dc:date>2013-12-19T22:37:57Z</dc:date>
  </entry>
  <entry>
    <title>Quantum Espresso batch file.</title>
    <link rel="alternate" href="https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=634608" />
    <author>
      <name>Junyue Li</name>
    </author>
    <id>https://conferences.xsede.org/c/message_boards/find_message?p_l_id=&amp;messageId=634608</id>
    <updated>2013-12-17T02:53:26Z</updated>
    <published>2013-12-17T02:45:34Z</published>
    <summary type="html">Dear users:&lt;br /&gt;&lt;br /&gt;I am now using Gordon to do my calculations. I successfully compiled QE on it and could run jobs with command &amp;#034;mpirun PATH/pw.x -np 1 -in file.in &amp;gt; file.out&amp;#034;. &lt;br /&gt;&lt;br /&gt;However, I cannot run the jobs through batch script and I do not know why. Could anyone please help me out here?&lt;br /&gt;&lt;br /&gt;The error is: &lt;br /&gt;error while loading shared libraries: libfftw3.so.3: cannot open shared object file: No such file or directory&lt;br /&gt;&lt;br /&gt;I tried to locate libfftw3.so.3 but could not find anything. And other libfftw3 files are in MVAPICH2 library which I did not use at all.&lt;br /&gt;&lt;br /&gt;My batch file:&lt;br /&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;#PBS -q normal&lt;br /&gt;#PBS -l nodes=1:ppn=2:native&lt;br /&gt;#PBS -l walltime=48:00:00&lt;br /&gt;#PBS -N TEST&lt;br /&gt;#PBS -o qe.mpi.log&lt;br /&gt;#PBS -e qe.mpi.err&lt;br /&gt;#PBS -A XXXXX&lt;br /&gt;#PBS -M XXX@XXX.XXX&lt;br /&gt;#PBS -m abe&lt;br /&gt;#PBS -V&lt;br /&gt;######################################################&lt;br /&gt;&lt;br /&gt;module load mpich2_ib&lt;br /&gt;&lt;br /&gt;/bin/mkdir -p /oasis/scratch/$USER/temp_project/${PBS_O_WORKDIR##*$USER/}&lt;br /&gt;/bin/cp -prL $PBS_O_WORKDIR/* /oasis/scratch/$USER/temp_project/${PBS_O_WORKDIR##*$USER/}/.&lt;br /&gt;cd /oasis/scratch/$USER/temp_project/${PBS_O_WORKDIR##*$USER/}&lt;br /&gt;&lt;br /&gt;mpirun PATH/pw.x -np 1 -in file.in &amp;gt; file.out</summary>
    <dc:creator>Junyue Li</dc:creator>
    <dc:date>2013-12-17T02:45:34Z</dc:date>
  </entry>
</feed>

