Could not create file /var/folders on GMT6

Added by Wee about 1 month ago

Hi,

I recently build the latest GMT dev version (6.0.0_r18684) from source but received errors when I execute my scripts.

Below is an example of the errors
grdimage: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
psxy: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
psscale: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
psxy: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
psxy: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
pstext: Error: gmtinit_set_last_dimensions: Could not create file /var/folders/kj/z0_ng1fd2wvgqwsqws1zlsmh0000gn/T/gmt6.559/gmt.canvas
grdclip: Processing input grid

I believe the errors are due to issue in creating a temporary ps file on my machine as I don't get any errors for functions such as grdclip, gmtinfo, blockmean, surface.

The errors disappear after I reverted to GMT5.4.

I'm using a MacbookPro running on macOS sierra 10.12.6.

Wee