From: Jordan on 22 Jun 2010 20:43 I am compiling several .m codes and mex files to a single C++ shared library (.so). I am then linking to and calling that library in a standalone C++ application. This program is computationally intensive, but uses no graphics whatsoever. The problem, in brief, is that X Forwarding seems to be enabled through Matlab and I cannot find a way to turn it off. I have tried the "-nodisplay" and "-nojvm" options to mclInitializeApplication and they do not seem to have any effect. My development environment consists of two servers, both recent version of Redhat. Server A is the actual production server where I run the application. Server B is the server that I log into. Server B contains consoles/terminals for other development servers including server A. If I were to launch Matlab on Server A, the actual GUI would be run through Server B. The problem is that when I run my application on Server A, X forwarding seems to be enabled, and a noticeable load is placed on server B. When I ssh into Server A with the "-x" option (X Forwarding disabled) and run my application I get the following warning: Warning: No display specified. You will not be able to display graphics on screen. In this case the application runs correctly and no extra load is placed on server B. When I run my application without the compiled Matlab libraries no X Forwarding seems to be taking place, and there is no additional load placed on server B. I can run the application in a shell that has X Forwarding disabled and not get the above mentioned warning. I have tried -nodisplay" and "-nojvm" options to mclInitializeApplication and they do not seem to have any effect. My only guess is that some sort of graphical display is enabled somewhere in the compiled .m code. It is third party code that I am not very familiar with. Other than that I am stumped. I have called Technical Support and they are currently working on this problem. The thread number is 1-D100RF.
|
Pages: 1 Prev: Biproportional Matrix Balancing and RAS Procedures Next: NON LINEAR PDE |