Question:
When using MATFOR 3.2 with Intel C++ compiler under Fedora Core 3 and RH Enterprise 4, the program unexpectedly closed after the segmentation fault occurred.

Answer:
There are different versions of gcc compiler, v3.2, v3.3 and v3.4. MATFOR 3.2 supports v3.2 and v3.3. However, the gcc compiler that came with Fedora Core 3 and RH Enterprise 4 was v3.4. The code generated by Intel C++ compiler in these systems hence yielded segmentation fault when linked to MATFOR.

You can first check the version of your gcc compiler by typing g++ --version under the console window. If you have v3.4 or above, please add -gcc-version=330 to Intel compiler option or modify your makefile using the example given as follow: icc -O2 -gcc-version=330 -I$(MATFORDIR)/include -rpath,$(MATFORDIR)/lib -L$(MATFORDIR)/lib test.cpp -lfml -lcml -lfgl -lsvml