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

Compiling Fortran with XCode4 and Lion

Laura_De_Lorenzis
502 Views
I am working at a Fortran code which I compile and link using Intel Fortran Composer. Everything was OK until I installed Lion and XCode4 on my machine. After compilation, when I link my code I get the error message
ld: can't write output file: program_name for architecture x86_64
The loading option I use is-L/usr/X11R6/lib -lX11 -lm
Anybody has any idea what's wrong?
Thanks a lot in advance,
Laura
0 Kudos
1 Reply
Laura_De_Lorenzis
502 Views
Sorry, I just solved the problem using sudo make install. It just wasn't needed before! I don't know why now it is.
0 Kudos
Reply