Error with ch_synthetic

10 views
Skip to first unread message

Mithun N P S

unread,
Nov 15, 2022, 12:25:09 PM11/15/22
to chianti
Hi,

I am facing an issue with the standalone installation of the CHIANTI IDL package's latest version (10.1.3), as described below. The same is also observed with version 10.1.2, which is part of the SSW installation on my system. 

When I run ch_ss for any inputs and try to compute line intensities, the program stops with the following error message printed on the terminal.


      pp1=la_invert(transpose(c),double=1,status=status)#b
                                        ^
% Syntax error.
  At: /home/mithun/Bin/chianti/idl/level_population/matrix_solver.pro, Line 229
% XMANAGER: Caught unexpected error from client application. Message follows...
% Attempt to call undefined function: 'MATRIX_SOLVER'.
% Execution halted at:  POP_SOLVER        433 /home/mithun/Bin/chianti/idl/level_population/pop_solver.pro
%                       CH_SYNTHETIC     1447 /home/mithun/Bin/chianti/idl/synt_spec/ch_synthetic.pro
%                       SYN_MAIN_EVENT   2058 /home/mithun/Bin/chianti/idl/synt_spec/ch_ss.pro
%                       XMANAGER_EVLOOP_STANDARD  476 /home/mithun/Bin/IDL/idl87/lib/xmanager.pro
%                       XMANAGER          708 /home/mithun/Bin/IDL/idl87/lib/xmanager.pro
%                       SYN_WID          4331 /home/mithun/Bin/chianti/idl/synt_spec/ch_ss.pro
%                       CH_SS            4469 /home/mithun/Bin/chianti/idl/synt_spec/ch_ss.pro
%                       $MAIN$          

I face the same issue when I try to run isothermal or ch_synthetic directly from my codes to compute isothermal spectra. It seems to be something to do with the selection of matrix solver method. Please suggest a solution.

Regards

Mithun

Mithun N P S

unread,
Nov 18, 2022, 10:10:56 AM11/18/22
to chianti
Hi all,

To give an update, thanks to Giulio, the problem is found to be with the IDL (8.7.1) installation on my system, which somehow does not have the lapack routines (not sure why, but it is not there). I commented out the call to la_invert in matrix_solver.pro in line 229, and it works (with the default matrix inversion). Posting it here in case anyone else faces similar issues.

Regards

Mithun

Reply all
Reply to author
Forward
0 new messages