Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Unix Support
 MATLAB on p670
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

francis.favorini
Forum Admin

USA
618 Posts

Posted - May 20 2003 :  2:31:28 PM  Show Profile  Visit francis.favorini's Homepage  Reply with Quote
Folks,

If you run MATLAB without Java (matlab -nojvm), graphics seem to work. You can also run matlab -nodisplay if you don't need to see any graphics. In this case, all graphics calls will still work, they just don't display anything.

As for OpenGL, I have configured MATLAB to use its own OpenGL implementation, as opposed to IBM's. Not sure if the IBM install is not complete or what, but at least MATLAB works now.

You will also want to put the following in your .profile and make sure /usr/local/bin is in your path.
export BLAS_VERSION=/usr/local/matlab6p5/bin/ibm_rs/atlas_common.a

FYI: MATLAB command line switches

[2005-10-20 Updated link to MATLAB command switches.]

-Francis

IT Director, Brain Imaging and Analysis Center

francis.favorini
Forum Admin

USA
618 Posts

Posted - May 20 2003 :  2:39:16 PM  Show Profile  Visit francis.favorini's Homepage  Reply with Quote
If you get tired of typing -nojvm you can include the following in your .profile:
alias matlab='matlab -nojvm'
Also, if you are running MATLAB in display mode, you need to have X-Win32 running on your Windows machine.

-Francis

IT Director, Brain Imaging and Analysis Center
Go to Top of Page

josh.bizzell
BIAC Staff

USA
118 Posts

Posted - Jul 14 2003 :  1:09:15 PM  Show Profile  Reply with Quote

quote:
Originally posted by francis.favorini

Also, if you are running MATLAB in display mode, you need to have X-Win32 running on your Windows machine.



What settings should we use with X-Win32 to have Volta display on our Windows machines? Namely, which connect method (rsh, rexec, or XDMCP) should we use, and what is the host command (e.g. for Sun OS: /usr/openwin/bin/xterm -ls -display $MYIP:$DNUM)?

Thanks,
Josh
Go to Top of Page

mb
BIAC Alum

27 Posts

Posted - Jul 15 2003 :  09:37:40 AM  Show Profile  Reply with Quote
You can skip setting up your X-Win32 session (just cancel out of the wizard) and you should still be able to have Volta display on your machine. This is functional but I don't know if it's better to define the settings.

mary beth
Go to Top of Page

charles.michelich
BIAC Alum

USA
183 Posts

Posted - Sep 15 2003 :  3:11:53 PM  Show Profile  Reply with Quote
Golgi Users,

Jimmy setup MATLAB on golgi to automatically disable the jvm for everyone by default so there is no need to include the -nojvm flag anymore. More details on using MATLAB on golgi, along with instructions for setting up X-Win32 and F-Secure for connecting to golgi can be found in the education (http://www.biac.duke.edu/education/) section of the BIAC website.

Enjoy,
Chuck

Edited by - charles.michelich on Sep 15 2003 3:13:59 PM
Go to Top of Page

francis.favorini
Forum Admin

USA
618 Posts

Posted - Oct 23 2003 :  4:41:57 PM  Show Profile  Visit francis.favorini's Homepage  Reply with Quote
Folks,

Try running
matlab -desktop &
It shows an error message, but then seems to bring up the MATLAB desktop. I briefly tested help, the editor and a couple other things, and they seem to work.

Let me know if you find any bugs/problems.

-Francis

IT Director, Brain Imaging and Analysis Center
Go to Top of Page

charles.michelich
BIAC Alum

USA
183 Posts

Posted - Oct 23 2003 :  6:36:34 PM  Show Profile  Reply with Quote
If you use
matlab -jvm -desktop &
one of the warnings (Warning: You have specified multiple/conflicting Java options. Using 'desktop'.) goes away.

I was able to edit files, display images, and such. Note that matlab -jvm alone still causes MATLAB to crash when you open a figure.

-Chuck
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.52 seconds. Snitz Forums 2000