General Help

Find help and help others!

Error in compiling

Hi,

When I tried to compile the supermongo code vg1 (on MAC) like below,

gfortran -o vg1 -lplotsub -ldevices -lutils -lm

then I got the following errors,

Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Can anyone help me to fix this problem ?

Errors in compiling FORTRAN

Hello, Folks:

I am trying to compile, or call, FORTRAN modules with respect to sm. I have successfully (?) installed sm on a Fedora 12 64-bit system using instructions given here (http://www.supermongo.net/compiling-with-linux-kernel-26-fc10). This seemingly allowed sm to compile and install.

I am now trying to compile a progam using sm. The command is:

gfortran -o tastrom tastrom.f -lplotsub -ldevices -lutils -lsla_f -L/usr/local/lib -L/usr/X11R6/lib -lX11

This gives errors such as:

/tmp/ccSKiVDt.o: In function `MAIN__':

Compiling SM

i, I am an undergrad student at Clemson University. I am working on research relating to the spectra of stars, and have written a program to figure out stellar parameters. The program requires SM to be installed, so after an upgrade of my operating system recently I find myself needing to reinstall SM.

I upgraded my OS to Ubuntu 9.10 and have installed the Bison package from the apt repository.

The version of SM that I was provided by the university is SM 2.4.13, which as I understand it, is very much outdated at this point.

SM exit when using label in LaTex format (Mac OS X)

Hi i've SM 2.14.4 installed on a Mac OS X 10.5.
When i run SM it say to me this (to me) obscure message:

"Font file format level is 50331648, not 3; You must re-run read_fonts"

and when i try to write a label in Tex format or an axis label (no matter the format), using both X11 and postencap, SM exits giving this message

"Font file format level is 50331648, not 3; You must re-run read_fonts
I can't read the fonts file so I can't write labels
Maybe you haven't opened a device from non-interactive SM?"

what i have to do to fix this probem?
Thanks
Marco

How do I define a filled star in ptype?

Hi!

Is there a way to define a filled star symbol with ptype?

I know that ptype 5 2 produces a star

and also that
ptype {d 200 0 0 200 -200 0 0 -200 200 0 }
makes a diamond, which means that I can define a star in a similar way,

but both are not filled.

Is there a way to fill them like ptype 30 3 makes a filled circle?

perhaps you could add a new ptype in some next version, like a ptype 5 4, which is starred and filled.

Thanks!
Ciao
Ste

Rounding in SM

Hi, does anyone know a quick workaround to get rounded numbers from floats?

How to call SM from a makefile ?

I am trying to call a sm script (plot.sm) from a makefile of a larger project that involves programs in C++ and data i/o files. Is there a way I can call run sm as a command? Also is it possible to pass file-names to plot.sm from command line? or any variable for that matter?

Callable SuperMongo

Hi everyone,

I am trying to get MOOG running on my new linux box at the office (Ubuntu 9.04) and am having a hard time getting the callable SuperMongo libraries to behave correctly.

After following the helpful directions here, I've got SM compiled and running normally on the machine. I'm using SM 2.4.30, compiling with gcc and gfortran.

Upper Limit Symbol

Hey,
Can someone please tell me how to plot an upper limit?

Thanks,
Aden

log ticksize and axis

Hi everybody, if any around.

I am setting a logarithmic axis and I would like to put labels only on a limited number of big ticks.
Hence what I do is define a double box. The second would be invisble, but I use it to draw labels only:

FIRST BOX:

limits -11 5.5 -13 -6
ticksize -1 0 -1 0
box 0 2 0 0

SECOND BOX:

ticksize -1 50 -1 0
box 0 3 3 3

The problem is that actually the "-1 50" x-axis appears exactly like the "-1 10" axis, i.e. like the "-1 0".
WHY?

Drupal theme provided by Danang Probo Sayekti.