<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><P>Hi,</P> <P>Here is an example to set up more scratch directories in .bashrc:</P> <P>export TMPDIR=/scratch/$USER/molpro1/$HOSTNAME<BR></P> <P>export TMPDIR2=/scratch/$USER/molpro2/$HOSTNAME</P> <P>or </P> <P>export TMPDIR2=/scratch2/$USER/molpro2/$HOSTNAME</P> <P>if [ ! -d ${TMPDIR} ]; then<BR>   mkdir -p ${TMPDIR}<BR>fi<BR>if [ ! -d ${TMPDIR2} ]; then<BR>   mkdir -p ${TMPDIR2}<BR>fi<BR></P> <P>The benefit is that it ensures every job has its own two scratches and can avoid the unnecessary disturbance by other users and other Molpro jobs.</P> <DIV>Normally Molpro can delete all temporary files belonging to the job after it ends successfully. When a job dies, Molpro also tries to delete them, but some corrupted files may still exist there.</DIV> <DIV>Could you check the /scratch space at the time the job was dying? It will help you determine whether it is really a problem without enough space.</DIV> <DIV> </DIV> <DIV>Best wishes,</DIV> <DIV>Manhui<BR><BR><FONT color=#990099>-----molpro-user-bounces@molpro.net &#25776;&#20889;:-----</FONT> </DIV> <DIV> <BLOCKQUOTE style="BORDER-LEFT: black 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">收件人: molpro-user@molpro.net<BR>发件人: psc <PSCADMIN@AVALON.UMARYLAND.EDU><BR>发件人: molpro-user-bounces@molpro.net<BR>日期: 18/03/2011 14:03<BR>主题: [molpro-user] I/O error / No space left on device<BR><BR>Hello, our computational chemists have problem with dying jobs due to "no space" on device ,but there is plenty (about 1TB) in the location where the scratch files are stored and that's where the scratch file/s are written.  <BR><BR>They run in to this problem only when the calculation switches to the largest basis set.  They said that "everything works up until I reset the basis to basis = aug-cc-pVTZ "<BR> <FONT size=-1><BR></FONT>This is the error they get:<BR>Write error in iow_direct_write; fd=19, l=32768, p=125397372928; write returns -1 <BR>This may indicate a filled disk, or that a disk quota has been exceeded    (there are no quotas on this system) <BR>forrtl: No space left on device   (but there is about 1TB left in the scratch space)<BR><BR>This is tail from the output_error.txt file <BR><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">ERROR WRITING        32768 WORDS AT OFFSET************ TO FILE 4  IMPLEMENTATION=df   FILE HANDLE=  1019  IERR=-77824<BR> ? Error<BR> ? I/O error<BR> ? The problem occurs in writew<BR></FONT>.. it's raid10 on four disks with no errors whatsoever<BR><BR><BR>* In /etc/profile we specified only one location for scratch since the scratch space is in raid10 with fast FS<BR><FONT size=-1>export TMPDIR</FONT>=/scratch<BR><BR><BR>Any ideas? Thanks for your help to tackle this problem.<BR><BR>Have a great day,<BR>psc<BR><FONT size=2 face="Default Monospace,Courier New,Courier,monospace">_______________________________________________<BR>Molpro-user mailing list<BR>Molpro-user@molpro.net<BR><A href="http://www.molpro.net/mailman/listinfo/molpro-user">http://www.molpro.net/mailman/listinfo/molpro-user</A><BR></FONT></BLOCKQUOTE></DIV> <DIV></DIV></font>