CCL: "Fork" and "Wait" commands..



 Sent to CCL by: =?ISO-8859-1?Q?Ulf_Ekstr=F6m?= [uekstrom(0)gmail.com]
 > Does anyone know of any Linux fortran compilers that have both the
 "wait" and
 > "fork" commands?
 If you don't find such a compiler you can easily write a wrapper in C
 and link that to your fortran program, i.e. (untested)
 #include <unistd.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 int fork_(void)
 {
   return fork();
 }
 int wait_(int *status)
 {
   return wait(status);
 }
 Sincerely,
 Ulf Ekstrom