X11-Fortran Problems
Hello to all,
I am in the process of compiling a Fortran code on my machine. I'm running 10.7.3 and compiling using gfortran. It was originally written on a Linux box and it has been successfully compiled on Linux Mint using X11.
The code requires two separate steps to compile the program. The first step compiles the graphics and gets X11 going while the second step compiles the rest of the code. It uses two makefiles, one for each step. I'm comfortable with using makefiles. I have gotten throught the entire compilation process without erroring out. I'm able to run the codes but the graphics don't work. An X11 window pops up but there are a bunch of lines simply stretching all across the window. Hence, I think the problem lies with my graphics compilation step.
There is a line in the graphics makefile that reads:
LINKLIB = -L/usr/X11/lib -lX11
My X11 library is in /usr/X11/lib and I verified that. I'm also using the following Fortran flags (double precision)
FFLAGS = -O3 $(DP)
Are there any thoughts as to why the graphics would be bombing on my machine?
Thanks.
iMac, Mac OS X (10.7.3)