Dear Andrew,
Sorry about the very late reply. I was trying to solve this on my own, left the problem for a while and now struggling with it again. I'll try to explain more precisely what problem I am facing.
I am using sub-version IC6.1.5-64b.500.7. Using 4 servers with 12 cores each, I run 48 ocean simulations simultaneously using the following command.
ocean -nograph -log log.<sim_num> -restore <name_of_ocn_file>
I use different log file names and .ocn file names for all 48 simulations to avoid any conflict.
The problem is that for some of the 48 simulations, the ocean simulations never start and I instead get the following message.
*WARNING* Could not open display golden.eecs.harvard.edu:80. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X80. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:81. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X81. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:82. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X82. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:83. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X83. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:84. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X84. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:85. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X85. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:86. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X86. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:87. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X87. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:88. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X88. *WARNING* Trying another display.
*WARNING* Could not open display golden.eecs.harvard.edu:89. If no X server is running for
*WARNING* this display, please remove the file /tmp/.X11-unix/X89. *WARNING* Trying another display.
*WARNING* Unable to connect to a non-graphical X Window Display server.
I tried inserting a command before every simulation to remove /tmp/.X11-unix/X8* to see if that solves the problem. Doing so made the message above go away and allowed all 48 ocean simulations to start, but some of them would crash with the following message.
\e IO Error 32 (Broken pipe) on Display "macabre.eecs.harvard.edu:80.0"
\e Aborting due to fatal X IO error.
All the crashed simulations had one thing in common - they all shared the same X display name. The following is an excerpt from one of the simulation log files.
\o Sub version: sub-version IC6.1.5-64b.500.7 (64-bit addresses)
\# Host name (type): macabre.eecs.harvard.edu (x86_64)
\# Operating system: Linux 2.6.18-308.20.1.el5 #1 SMP Tue Nov 13 10:15:12 EST 2012
\# X display name (WxH): macabre.eecs.harvard.edu:80.0 (1024x868)
\# Available geometry: TL(0:0) BR(1023:867)
\# X server: RealVNC Ltd (VNC nograph server)
\# Depth of Visual (Root): 16 (16)
\# Number of Planes Used: 16
\# X version: 11.0 (vendor release 3370)
There were 5 simulations running simultaneously that had the same "X display name (WxH): macabre.eecs.harvard.edu:80.0 (1024x868)", and only one of them finished while the other 4 crashed with the log message I attached above. My guess is that different ocean simulations should not use the same X display name when running simultaneously. I was wondering if there is a way to run multiple ocean simulations simultaneously without having X display issues. Thank you very much!
Regards,
Wonyoung