Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Help: WRF memory partition.

Dipson11

Member
Hello, I am new to WRF and I want to use it for a small urban canopy simulation. I successfully installed WRF to my home directory /home/dipson/Build_WRF , but when I checked my free space in home directory it says only 16GB.
df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 778M 2.4M 775M 1% /run
/dev/sda5 93G 73G 16G 83% / <<<<<<<<<<<<<<<<<( WHERE I INSTALLED)
tmpfs 3.8G 4.0K 3.8G 1% /dev/shm
tmpfs 5.0M 12K 5.0M 1% /run/lock
efivarfs 184K 127K 53K 71% /sys/firmware/efi/efivars
/dev/sda6 1.1G 6.2M 1.1G 1% /boot/efi
tmpfs 778M 2.6M 775M 1% /run/user/1000
/dev/nvme0n1p3 238G 222G 17G 94% /media/dipson/7A68DD0268DCBDD7
/dev/sda2 832G 269G 564G 33% /media/dipson/Solid State Drive <<<<<<<<<<<<<<<<<<<(MY SSD)

Should I install it again to my SSD by uninstalling from the current directory? or is there any way i can shift installed WRF from home directory represented by sda5 to sda2 without having to install again?

Thank you !!
 
You can run WRF outside of the built directory if you do not want to use the space there. As an example to set up on your ssd, you could make a directory under that ssd and soft link the executables (and namelists + other input files) into that directory, e.g. :
Code:
cd /media/dipson/ssd # using a short name here just for example
mkdir wrf_run_location # name whatever you want
cd wrf_run_location

# * and . are important, we are telling the command to soft-link 
# everything (*) in that directory here (denoted by .)
# also not that we are NOT soft-linking 'to' the directory because 
# then we'd be right back at running in your home dir
ln -s /home/dipson/Build_WRF/test/em_real/* . # replace test/em_real with whatever directory you plan on using from WRF

                     
# now runs in that directory will make use of your ssd space instead of home directory
./real.exe
 
Top