CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Installation

Fatal error error writing to tmp No space left on device

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2006, 16:41
Default while compiling OpenFOAM 1.2 I
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 8
maka is on a distinguished road
while compiling OpenFOAM 1.2 I got the following errors regardless of the fact that free disk space is 35 GB.

finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C:40: fatal error: error writing to /tmp/ccUN0zCh.s: No space left on device
LaunderGibsonRSTM/LaunderGibsonRSTM.C:348: fatal error: error writing to /tmp/ccsslpCE.s: No space left on device
LaunderGibsonRSTM/LaunderGibsonRSTM.C:368: fatal error: error writing to /tmp/ccnEKI2H.s: No space left on device
faDdtSchemes/EulerFaDdtScheme/EulerFaDdtSchemes.C:42: fatal error: error writing to /tmp/cciY95in.s: No space left on device

a detailed print of one sample or error is:

SOURCE=finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C ; g++ -m32 -Dlinux -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -ffast-math -DNoRe
pository -ftemplate-depth-30 -DWM_PROJECT_VERSION='"'1.2'"' -I/home/maka/OpenFOAM/OpenFOAM-1.2/src/zlib-1.2.1 -I/home/maka/OpenFOAM/OpenFOAM-1.2/src/
OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4Opt/EulerDdtSchemes.o
finiteVolume/ddtSchemes/EulerDdtScheme/EulerDdtSchemes.C:40: fatal error: error writing to /tmp/ccUN0zCh.s: No space left on device
compilation terminated.

I would appreciate if any body can help.

best regards,
Maka
maka is offline   Reply With Quote

Old   March 31, 2006, 17:08
Default Well, looks like your /tmp dir
  #2
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 328
Rep Power: 12
mbeaudoin will become famous soon enough
Well, looks like your /tmp directory is not on the same partition as the one with 35GB of free disk space...

Simply do the following command:

df /tmp

You should see something close to 100% of utilization for the partition hosting /tmp.

Solution 1: if possible, clean up your /tmp directory, or any other directory located on the full disk partition. Remove some temporary files, etc. If you are unsure, ask your local smiling sysadmin.

Solution 2: it is quite possible that the size of the partition hosting /tmp is too small for the kind of utilization you are doing with your workstation. It happens. On my workstation, I always make sure I have a large /tmp.

Simply read the man page for g++. Look up the section where they talk about the environment variable TMPDIR.
Set your TMPDIR environment variable to a directory located on your 35GB free disk space. Restart your compilation.

That should do the trick.

Have fun.

Martin
mbeaudoin is offline   Reply With Quote

Old   April 3, 2006, 09:48
Default Thanks for your help. You are
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 8
maka is on a distinguished road
Thanks for your help. You are right about /tmp being on a different partition, df /tmp = 98%. I used the solution 2 and it worked. Many thanks for your help.

best regards,
Maka
maka is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: left-handedness Conan FLUENT 1 November 17, 2008 06:44
fatal error :(( ozgur CFX 0 August 30, 2008 21:09
Fatal Error -- Help! Steve Roberts CFX 1 May 7, 2006 14:36
Fatal error Marco Melo CFX 2 May 2, 2005 14:34
Fatal Error luiz eduardo bittencourt sampaio OpenFOAM Running, Solving & CFD 2 February 15, 2004 17:31


All times are GMT -4. The time now is 02:59.