hi,<br>Just from root user type<br>yum install libgfortran.so.3<br><br>then it will install this files which is not present in your machine<br><br><div class="gmail_quote">On Sun, Sep 6, 2009 at 12:20 AM, sreekar guddeti <span dir="ltr">&lt;<a href="mailto:colonel.sreekar@gmail.com">colonel.sreekar@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">i know this issuehas been addressed and documented in troubleshooting section of the users guide.<br>
but i giveup in despair trying for a whole day to figure this problem<br>i run my jobs on rocks cluster by using SGE&#39;s facility of submitting batch jobs<br>
<a href="http://www.rocksclusters.org/roll-documentation/sge/5.2/submitting-batch-jobs.html" target="_blank">http://www.rocksclusters.org/roll-documentation/sge/5.2/submitting-batch-jobs.html</a><br>

<br>what i &#39;apparently&#39; observe(or doubtfully infer) is that i can successfully run a single parallel job, but on submitting a second job i get the error <br>____________________________________________<br>/home3/colonel/espresso-4.0.5/bin/pw.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such <br>

file or directory<br>____________________________________________<br><br><br>i find out the path for the library and added to the LD_LIBRARY_PATH by writing <br>_______________________________________<br>#set the library path to include gfortran libraries<br>


export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64:/usr/lib<br>
<br>
<br>
$ECHO<br>
$ECHO &quot;$LD_LIBRARY_PATH&quot;<br>
$ECHO<br>
_______________________________________<br><br>in the file which acts as script for qsub ($qsub -pe orte 4 dosroutine.qsub) which is<br><br>dosroutine.qsub<br>-----------------------------------------------------------------<br>

<br>#!/bin/bash<br>#<br>#$ -cwd<br>#$ -j y<br>#$ -S /bin/bash<br>#<br><br>#extract the info about no of processors involved from command line arguments of &#39;qsub&#39;<br>PROCESSORS=$NSLOTS<br><br>#heuristically assign the no of processors per pool NPR<br>

NPR=4<br>#as a result no of pools are give by<br>NPK=`expr $PROCESSORS / $NPR`<br><br>#!/bin/bash<br>#<br>#<br>#Script for performing a dos calculation on a parallel processor<br>WORKINGDIR=`pwd`<br>ECHO=&quot;echo&quot;<br>

<br>#set the library path to include gfortran libraries<br>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64:/usr/lib<br><br><br>$ECHO<br>$ECHO &quot;$LD_LIBRARY_PATH&quot;<br>$ECHO<br><br># set the needed environment variables<br>

<br>PREFIX=`cd /home3/colonel/espresso-4.0.5 ; pwd`<br>$ECHO $PREFIX<br>BIN_DIR=$PREFIX/bin<br>PSEUDO_DIR=$PREFIX/pseudo<br>TMP_DIR=$HOME/tmp<br>PARA_PREFIX=&quot;/opt/openmpi/bin/mpirun -np $PROCESSORS&quot;<br>PARA_POSTFIX=&quot;-npool $NPK&quot;<br>

<br># required executables and pseudopotentials<br>$ECHO<br>$ECHO &quot;  executables directory: $BIN_DIR&quot;<br>$ECHO &quot;  pseudo directory:      $PSEUDO_DIR&quot;<br>$ECHO &quot;  temporary directory:   $TMP_DIR&quot;<br>

<br>#create results directory<br>for DIR in &quot;$TMP_DIR&quot; &quot;$WORKINGDIR/results&quot; ; do<br>    if test ! -d $DIR ; then<br>        mkdir $DIR<br>    fi<br>done<br>cd $WORKINGDIR/results<br><br><br># variables to represent programs<br>

PW_COMMAND=&quot;$PARA_PREFIX $BIN_DIR/pw.x $PARA_POSTFIX&quot;<br>DOS_COMMAND=&quot;$PARA_PREFIX $BIN_DIR/dos.x $PARA_POSTFIX&quot;<br>PROJWFC_COMMAND=&quot;$PARA_PREFIX $BIN_DIR/projwfc.x $PARA_POSTFIX&quot;<br><br><br>

# DOS calculation for 0Ni0<br>cat &gt; <a href="http://0ni0.dos.in" target="_blank">0ni0.dos.in</a> &lt;&lt; EOF<br> &amp;control<br>    calculation=&#39;nscf&#39;<br>    restart_mode=&#39;from_scratch&#39;,<br>    prefix=&#39;0ni0&#39;,<br>

    pseudo_dir = &#39;$PSEUDO_DIR/&#39;,<br>    outdir=&#39;$TMP_DIR/&#39;<br> /<br> &amp;system<br>    ibrav=2, celldm(1) =6.48, nat=1, ntyp=1,<br>    nspin = 2,  starting_magnetization(1)=0.7,<br>    ecutwfc = 24.0, ecutrho = 288.0, nbnd=8,<br>

    occupations=&#39;tetrahedra&#39;<br> /<br> &amp;electrons<br>    conv_thr = 1.0e-10<br>    mixing_beta = 0.7 <br> /<br>ATOMIC_SPECIES<br> Ni 58.69 NiUS.RRKJ3.UPF<br>ATOMIC_POSITIONS<br> Ni 0.0 0.0 0.0<br>K_POINTS {automatic}        !special points generated by tetrahedra method<br>

 12 12 12 0 0 0<br>EOF<br><br>$ECHO &quot;  running DOS calculation for 0Ni0 ...\c&quot;<br>$PW_COMMAND &lt; <a href="http://0ni0.dos.in" target="_blank">0ni0.dos.in</a> &gt; 0ni0.dos.out<br>$ECHO<br>$ECHO &quot;   done&quot;<br>
<br>-------------------------------------------------------------<br>
<br>the output i get is<br><br>************************************************<br>:/usr/lib64:/usr/lib<br><br>/home3/colonel/espresso-4.0.5<br><br>  executables directory: /home3/colonel/espresso-4.0.5/bin<br>  pseudo directory:     /home3/colonel/espresso-4.0.5/pseudo<br>

  temporary directory:   /home3/colonel/tmp<br>  running DOS calculation for 0Ni0 ...\c<br>/home3/colonel/espresso-4.0.5/bin/pw.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such <br>


file or directory<br>/home3/colonel/espresso-4.0.5/bin/pw.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such <br>
file or directory<br>/home3/colonel/espresso-4.0.5/bin/pw.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such <br>
file or directory<br>/home3/colonel/espresso-4.0.5/bin/pw.x: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such <br>
file or directory<br><br>   done<br>*************************************************<br clear="all">plz suggest solutions which donot require root permissions , as i dont have<br>thanks in advance<br><font color="#888888">-- <br>
Sreekar Guddeti<br>
Department of Physics<br>
</font><br>_______________________________________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dr. Bipul Rakshit<br>Research Associate,<br>S N Bose Centre for Basic Sciences,<br>Salt Lake,<br>Kolkata 700 098<br>India<br>