General Help

Find help and help others!

hello everyone

this is the first time i have logged in to this wonderful new website that was created for us by paul wilson for apparently no reason other than that he is a great guy and a supporter of sm and obviously an excellent resource for anyone who needs website development.

so, i would like to offer a couple of suggestions to anyone who posts questions:

1. please mention which version of sm you are using. it may be that your problem has gone away in a later release and in any case it helps us diagnose or try to replicate the problem

How do I assign to my data file squares of certain longitude and height?

I would like to assign to my data file squares. I know I can use the option ptype 4 to select squares but I only can choose their size using the command expand but it is only possible in units screen. I know now that I can do it by means of circle (thanks to a reply from a previous topic in the forum) but I do not know how to do it using squares!

How do I assign to my data files a circle of radius R?

hi everyone,

If anyone could help me to see the light about the following doubt.

I want to plot my data file by means of circle of certain radius.

I know there is the option circle 1 1 3 which draw a circle in the coordinate (1,1) and radius 3. But I would like that this circle centered in my data file. I know there is the option ptype 10 0 and using expand I can make change the size but expand is offered in units screen.

Would it be possible?

Problem compiling Fortran on CentOS 5.4

I was wondering if someone might have seen this before when compiling using gfortran on CentOS 5.4 or an equivalent RedHat/Fedora

gfortran -o vg1 -lplotsub -ldevices -lutils -lm -lX11 -L/usr/X11R6/lib vg1.f
/tmp/ccOIqn9n.o: In function `MAIN__':
vg1.f:(.text+0x43d): undefined reference to `sm_device_'
vg1.f:(.text+0x442): undefined reference to `sm_graphics_'
vg1.f:(.text+0x466): undefined reference to `sm_defvar_'
vg1.f:(.text+0x480): undefined reference to `sm_ctype_'
vg1.f:(.text+0x494): undefined reference to `sm_device_'
vg1.f:(.text+0x4aa): undefined reference to `sm_ctype_'

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?

Drupal theme provided by Danang Probo Sayekti.