Hello Malgorzata,
There are several things that might contribute to that
message.
First, I think that what the message is telling you is that you
need to set the environment variable "XFLASH_DIR" so that IDL will
know where to look for the routines. The routines are in the directory
tools/fidlr2 in the Flash source distribution.
For tcsh, this line works for me on one of our machines:
setenv XFLASH_DIR /scratch2/calder/FLASH2.3/tools/fidlr2
You could put the equivalent line in your .cshrc if
you are using that shell so that the environment variable would
be set every time you start a shell.
Then if you haven't done it, you add the same path to the
enviroment variable "IDL_PATH". Here's what mine looks like:
setenv IDL_PATH
/scratch2/calder/FLASH2.3/tools/fidlr2:/opt/pkgs/idl5.6/idl_5.6:/opt/pkgs/idl5.6/idl_5.6/lib
That adds the fidlr2 directory to the IDL path. Again, you could
put this in a .cshrc file.
Finally, be sure that you have compiled the shared executable using
either Makefile.linux or Makefile.sgi for linux or SGI machines, or
your own version for the system you are using. You most likely will need
to edit the makefiles to add the correct path in any case. Compiling
should produce a file named "h5_wrappers.so".
Hope this helps,
Alan
Alan C. Calder
University of Chicago
ASCI Flash Center
5640 South Ellis Ave.
Chicago, IL 60637
email: calder@flash.uchicago.edu
phone: (773) 834-3904
fax: (773) 834-3230
web: http://flash.uchicago.edu/~calder/
On Thu, 10 Apr 2003, Malgorzata Selwa wrote:
> Hi,
>
> I have installed Flash and idl. When I ran xflash and tried to read
> files from the sedov problem (sedov_4_hdf_chk_000* or
> sedov_4_hdf_plt_cnt_000*) I got a message:
>
> IDL> xflash % Compiled module: XFLASH. initializing xflash ... IDL version
> = 5.6 ... PNG graphics will be used ... xflash directory is not found.
> Please set the
> XFLASH_DIR environment variable % Compiled module: XFLASH_DEFAULTS. %
> Compiled module: VAR_INDEX. % Compiled module: COLOR_INDEX. % Compiled
> module: CW_FIELD. % Compiled module: CW_BGROUP. % Compiled module:
> XMANAGER. % Compiled module: DETERMINE_FILE_TYPE. % Compiled module:
> GET_XFLASH_PATH. % Loaded DLM: HDF. % XMANAGER: Caught unexpected error
> from client application. Message follows... % CALL_EXTERNAL: Error loading
> sharable executable.
> Symbol: hdf5_check_file_exist, File = h5_wrappers.so
> h5_wrappers.so: cannot open shared object file: No such
> file or directory % Execution halted at: DETERMINE_FILE_TYPE 29
> /home/mag/FLASH2.2/tools/fidlr2/determine_file_type.pro % XFLASH_EVENT 77
> /home/mag/FLASH2.2/tools/fidlr2/xflash.pro % XMANAGER_EVLOOP_STANDARD 478
> /usr/local/rsi/idl_5.6/lib/xmanager.pro % XMANAGER 708
> /usr/local/rsi/idl_5.6/lib/xmanager.pro % XFLASH 1711
> /home/mag/FLASH2.2/tools/fidlr2/xflash.pro % $MAIN$
>
> What should i do with it?
>
> Mag
>
Received on Fri Apr 11 10:13:39 2003
This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT