Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Compile problem

Seungchul_B_
Beginner
90 Views

Hi, all. 

I've been compiling Fortran file using UNIX server or my labtop, Mac. Since my commonly used subroutines or functions are in the folder named as subs, I compile it as the below and it have no problem so far. 

> gfortran sample.f90 ~/subs/*.* -o sample

A couple of days ago, I installed compiler for Fortran in the desktop. However, I cannot link files in the subs folder, 

C:\gofrtran sample.f90 c:\subs\*.* -o sample 

it generated the error: c:\subs\*.*: Invalid argument, even though that folder does exist. 

Could you let me know how to handle this problem?

All comments would be appreciated. 

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
90 Views

You have posted this in the forum for Intel Fortran (command ifort), but you're using gfortran, part of gcc.  I gather that your second attempt was on Windows.

I suggest that you post your question to the comp.lang.fortran Internet newsgroup, as it isn't really appropriate for here.

Reply