Re: fortran code for 'cp' / subroutine file_copy



vondele> ftn -target=catamount test.f90
test.f90:
/opt/pgi/6.1.1/linux86-64/6.1/lib/libpgf90rtl.a(system3f.o)(.text+0x24):
In function `system_':
: warning: system is not implemented and will always fail
test.o(.text+0x24): In function `MAIN_':
: undefined reference to `pxfsystem_'

and from the some docs:

In particular, glibc on Catamount does not support:
· Pipes, sockets, remote procedure calls, or other TCP/IP
communication.
· Dynamic process control (such as exec, popen, fork, or system
library calls).
· Dynamic loading of executable code.
· Threading.
....

Cheers,

Joost

.