Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

OpenGL Linux, IVF

john3
Beginner
583 Views
Have successfully used the Intel Fortran Windows provided OpenGL mod files for fwrap, gl, glinterfaces, glu, gluinterfaces, glut, glutinterfaces and kinds.

Have tried unsuccessfully to compile the Linux version of these from the NIST downloaded from the NIST site, f90gl-1.2.13.

So, dumb question, are the mod files platform dependent, i.e., can I use the windows mod files under Linux (Win and Linux are 64bit EMT-64)?

If not, has anyone been able to create these from sources provide by NIST for Linux using IVF, EMT-64 ?

Thanks.

John


0 Kudos
3 Replies
Steven_L_Intel1
Employee
583 Views
The module files are not compatible across platforms. I have successfully built and used f90GL on Linux (32-bit), but I also had to build GLUT and MESA. This was a couple of years ago. What problems did you run into?
0 Kudos
john3
Beginner
583 Views
Downloaded f90GL-1.2.13 and glut-3.7.1 to my Linux x86-64 with IVF platform.

Glut appeared to compile ok and created the libglut.a library. But for f90-GL, it seems to be guessing game as to which make file to use. Have tried the mf8lim7 version, but this gets compile errors (this may be the make file for 32 bit platforms). My Linux skills are low, so trying to debug this is slow going.

Any suggestions as to which of f90 make files to try and what should I focus on to work on a 64 bit platform? i.e., suggestions for modifying the make files for 64 bit operation. Presume this entire operation creates the *.mod files needed for F90 64 bit compile (similar to Windows 64).

Apparently have some of mesa installed from the SuSE Linux 10.2 distro, at least there are some mesa header files in /usr/include/GL.

John
0 Kudos
Steven_L_Intel1
Employee
583 Views
mf8lim7 should do but you'd want to make sure that you had first done a "source" of the "fce" compiler and that all the libraries used were 64-bit. At first glance I don't see any edits you have to make to this file on the Fortran side.
0 Kudos
Reply