while compiling OpenFOAM 1.2 I
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 |
Well, looks like your /tmp dir
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 |
Thanks for your help. You are
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 |
All times are GMT -4. The time now is 13:29. |