[FLASH-USERS] FLASH and Octave
Aaron Froese
aaron.froese at generalfusion.com
Mon Jan 31 17:23:01 EST 2011
Hi Nathan,
I am having trouble compiling the octave-swig branch. Initially, octave_install_key was not declared in build.py. I have added the appropriate lines to build.py and config/config_machine.py (see attachments) to get past that, but now I am unable to reference the function link_to_global_variable (see below). Can you tell me what header file it is declared in? In addition, I have been using the unigrid branch until now. Is there any potential that the octave-swig branch as it currently exists will not be able to read uniform grid meshes?
Thanks,
Aaron
-------------------------
/usr/bin/mkoctfile -o quickflash.oct -I../include ../lib/libquickflash.a \
-I/home/aaron/libraries/hdf5-1.8.4-serial/src -I/usr/include/mpich2/ \
-L/home/aaron/libraries/hdf5-1.8.4-serial/lib -lhdf5 -lz octave_quickflash_wrap.cpp
octave_quickflash_wrap.cpp: In member function ‘void octave_swig_type::install_global()’:
octave_quickflash_wrap.cpp:1197: error: ‘curr_sym_tab’ was not declared in this scope
octave_quickflash_wrap.cpp:1197: error: ‘link_to_global_variable’ was not declared in this scope
octave_quickflash_wrap.cpp:1204: error: ‘symbol_record’ was not declared in this scope
octave_quickflash_wrap.cpp:1204: error: ‘sr’ was not declared in this scope
octave_quickflash_wrap.cpp:1204: error: ‘global_sym_tab’ was not declared in this scope
octave_quickflash_wrap.cpp: In function ‘void SWIG_Octave_SetModule(void*, swig_module_info*)’:
octave_quickflash_wrap.cpp:2110: error: ‘curr_sym_tab’ was not declared in this scope
octave_quickflash_wrap.cpp:2110: error: ‘link_to_global_variable’ was not declared in this scope
octave_quickflash_wrap.cpp: In function ‘octave_value_list Fquickflash(const octave_value_list&, int)’:
octave_quickflash_wrap.cpp:14754: error: ‘curr_sym_tab’ was not declared in this scope
octave_quickflash_wrap.cpp:14754: error: ‘link_to_global_variable’ was not declared in this scope
make: *** [quickflash.oct] Error 1
Error executing command [ cd swig ; make octave-swig ] : Unable to build Octave (SWIG) library
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.py
Type: text/x-python
Size: 15875 bytes
Desc: build.py
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20110131/914ab93f/attachment-0002.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_machine.py
Type: text/x-python
Size: 10122 bytes
Desc: config_machine.py
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20110131/914ab93f/attachment-0003.py>
More information about the flash-users
mailing list