Hi Ted,
I am not involved with the Modules development but I will try to
answer your questions:
Ted Stern <st...@cr...> writes:
> It appears that the modules package depends on X libraries. What specific
> part of the package requires this? X is a pretty big thing to depend on,
> especially for supercomputers that would not primarily be used for X
> applications.
Only the x-resource command needs to X11 libraries and you can compile
without X11 by passing --without-x to configure.
> Tcl dependency: Is there a minimal prerequisite subset of Tcl for modules?
> It seems like it would be more efficient to require only the locations of
> the static libtcl.a library or equivalent, and the location of the init.tcl
> file.
At compile time you will also need the TCL header files.
> And since the init.tcl file is not only a prerequisite but a
> run-time requirement, perhaps an example modulefile that sets
> modules-specific environment variables pointing to the init.tcl file
> should be provided.
Looks like init.tcl is loaded before any modulefiles are looked
at. There maybe an environment variable to override the initial search
path that you could set from the init shell fragments but I couldn't
figure out what it is.
--
Istvan
|