Hello,
I have a problem with DIPSO that is a bit irritating although I can work around it. The suggested "fix" seems to be to compile dipso (or its subroutines) with a different flag, and I wondered if this could be done in the next version, although of course I do not know if this would have secondary and unwanted effects :)
I am using star-kaulia_32bit here although the same problem is present in the 64 bit versions.
Basically I have a script to do ELF fitting or IS fitting for many stars. For the IS fitting in the past I deleted the previous models using d1 d2 d3... d11.... but now if I try to delete a component that does not exist then DIPSO crashes; see example (A). Likewise when using ELF then I get a crash if for example I enter v1: 1 instead of the correct c1 (Example B). This means one has to be very careful in typing. Some routines do not crash (Example C).
Example A)
jsmoker-HP-ProBook-6560b:~/Papers/pop_paperIII_RS_effect/CaI_results> echo $DIPSODIR
/diska/home/jsmoker/starlink/star-kaulia_32bit/bin/dipso
jsmoker-HP-ProBook-6560b:~/Papers/pop_paperIII_RS_effect/CaI_results> dipso
DIPSO Version 3.6-3 (13/12/03)
> isinp
ISINP> ? d1
At line 17 of file ermess.f (Unit 6)
Traceback: not available, compile with -ftrace=frame or -ftrace=full
Fortran runtime error: Expected CHARACTER for item 2 in formatted transfer, got INTEGER. If you want to make character descriptors typeless, compile with -fsloppy-char
(' ISINP_',A1,': cloud does not exist',A)
^
Example B)
> elfinp
ELFINP> ? c1:1
ELFINP> ? v1:1
At line 121 of file kdcode.f (Unit 6)
Traceback: not available, compile with -ftrace=frame or -ftrace=full
Fortran runtime error: Expected CHARACTER for item 1 in formatted transfer, got INTEGER. If you want to make character descriptors typeless, compile with -fsloppy-char
(' ELFINP: illegal character ',A1,A1)
^
Example C) The problem is not present in all the 'IS' routines, for example ISOPT seems robust to incorrect input:
> isopt
ISOPT: loading default options
ISOPT_L:
<snip>
V1 -100.000 : start velocity for calculation
V2 100.000 : end velocity for calculation
ISOPT> ? binst 1.0
ISOPT> ? v1:-100
ISOPT> ? v1:Dipso is awesome!
ISOPT: error decoding value
...and DIPSO does not crash.
Thanks!
Jonathan
----
Starlink User Support list
For list configuration, including subscribing to and unsubscribing from the list, see
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STARLINK
|