first load ngsolve, then startup

This commit is contained in:
Joachim Schoeberl 2009-05-09 13:03:37 +00:00
parent 51d4a12781
commit 309e767b37

View File

@ -242,6 +242,9 @@ if { $stereo == "defined" } {
} }
catch { source ${ngdir}/ngsolve.tcl }
set scriptfilename [Ng_GetCommandLineParameter script] set scriptfilename [Ng_GetCommandLineParameter script]
if { $scriptfilename != "undefined" } { if { $scriptfilename != "undefined" } {
if { [catch { source $scriptfilename } errstring] == 1 } { if { [catch { source $scriptfilename } errstring] == 1 } {
@ -285,9 +288,6 @@ if { [file exists startup.tcl] } {
# source ngusers/ebg/elasticity/ebgelast.tcl # source ngusers/ebg/elasticity/ebgelast.tcl
catch { source ${ngdir}/ngsolve.tcl }
# if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } { # if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } {
# puts "cannot load ngsolve" # puts "cannot load ngsolve"
# puts "error: $result" # puts "error: $result"