getenv, getarg, iargc, system etc with intel fortran compiler
I need to use the getenv, getarg, and iargc functions to run my code.
My original code compiles fine (after copying iflport.f90 file to my
directly and inluding it in my modules) but while linking it says
"genenv not found"
so i made a simple program as below and tried to compile
still it does not find,
can somebody tell me why?
Please forgive me if this is an FAQ, I could not find anything after
searching he web,
-------- MY SHELL PROMPT ------------
myrtle:~/test> ls
a.F90 IFLPORT.mod main.F90 makemake* music.o
myrtle:~/test> ifc iflport.F90 a.F90
module IFLPORT
1638 Lines Compiled
program A
7 Lines Compiled
/home/shaji/temp/ifckjMk4d.o: In function `main':
/home/shaji/temp/ifckjMk4d.o(.text+0x20): undefined reference to
`system_'
myrtle:~/test>
---------PROGRAM a.F90 ------------------------
program check
Use iflport,Only: system
Integer :: int1
int1=system('ls')
!Call system('ls')
end program check