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

define makefile for compile

hamid_mosaddeghi
Beginner
765 Views
Hi Dears

I need to compile this code but how define make file in rdf subdirectory?


thanks

Best Regards.
0 Kudos
4 Replies
TimP
Honored Contributor III
765 Views

It may be sufficient to replace g77 (2 places) by ifort, possibly adding -fp-model source to FFLAGS. If the application depends on disabling optimization (as seems to have been recommended for cygwin), use -O0 rather than -fp-model source

Was that your question?

0 Kudos
hamid_mosaddeghi
Beginner
765 Views
thanks


but I replace g77 with ifort but I get error for latest section "hread.f,...."

I get "NO Target ...."


please check it.

Best!
0 Kudos
TimP
Honored Contributor III
765 Views

This would seem to indicate that you didn't set up your directory structure consistent with the (unusually structured) makefile. What does

less ../FORT/hread.f

give you, from the directory where you start make?

0 Kudos
hamid_mosaddeghi
Beginner
765 Views
Dear TimP

do you mean I remove ../Fort/heard.f from make file?

I set directory of heard.f and other but I get error , please check it and compile it once.


0 Kudos
Reply