Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Fortran > Re: How to dete...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 18 Topic 8229 of 8775
Post > Topic >>

Re: How to determine whether or not there exists a directory

by Catherine Rees Lay <catherine.news@[EMAIL PROTECTED] > May 14, 2008 at 09:39 AM

ziven wrote:
> It seems to be compiler-dependent.
> On linux the Code below yields:
> 1) T F F F with ifort 10.1 20070913;
> 2) T T F F with gcc 4.1.2 20070502;
> 3) T T F F with gcc 3.2.3 20030502;
> 4) T T F F with pgf90 5.1-6
> 
> But the "(directory).nul" suggested by Terenc didn't work.
> 
> BTW, Steve mentioned "Intel Fortran added INQUIRE keywords to provide
> for asking about
> directories".
> Any detail info about this?
> 
 From the Intel help system:

Inquiring by Directory:

INQUIRE (DIRECTORY=dir, EXISTS=ex [, DIRSPEC=dirspec] [, ERR=label] [, 
IOSTAT=i-var] )

Of course, this won't help you unless you have the Intel compiler, in 
which case you probably wouldn't have needed to ask for the info...

-- 
Catherine Rees Lay

Polyhedron Software Ltd. Registered Office: Linden House,
93 High St, Standlake, Witney, OX29 7RH, United Kingdom.
Registered in England No.2541693. Vat Reg No. GB 537 3214 57
 




 18 Posts in Topic:
How to determine whether or not there exists a directory
ziven <zuoweizhang@[EM  2008-05-13 02:26:53 
Re: How to determine whether or not there exists a directory
Terence <tbwright@[EMA  2008-05-13 02:42:19 
Re: How to determine whether or not there exists a directory
Steve Lionel <Steve.Li  2008-05-13 09:36:24 
Re: How to determine whether or not there exists a directory
Ron Ford <ron@[EMAIL P  2008-05-13 18:21:49 
Re: How to determine whether or not there exists a directory
glen herrmannsfeldt <g  2008-05-13 16:20:56 
Re: How to determine whether or not there exists a directory
Arjen Markus <arjen.ma  2008-05-13 07:23:39 
Re: How to determine whether or not there exists a directory
Reinhold Bader <Bader@  2008-05-13 16:32:33 
Re: How to determine whether or not there exists a directory
Terence <tbwright@[EMA  2008-05-13 16:40:41 
Re: How to determine whether or not there exists a directory
Ron Ford <ron@[EMAIL P  2008-05-13 21:05:17 
Re: How to determine whether or not there exists a directory
ziven <zuoweizhang@[EM  2008-05-13 18:03:44 
Re: How to determine whether or not there exists a directory
Catherine Rees Lay <ca  2008-05-14 09:39:25 
Re: How to determine whether or not there exists a directory
relaxmike <michael.bau  2008-05-14 02:50:21 
Re: How to determine whether or not there exists a directory
ziven <zuoweizhang@[EM  2008-05-14 07:39:20 
Re: How to determine whether or not there exists a directory
Steve Lionel <Steve.Li  2008-05-14 13:47:54 
Re: How to determine whether or not there exists a directory
"David Jones" &  2008-05-14 16:53:07 
Re: How to determine whether or not there exists a directory
Steve Lionel <Steve.Li  2008-05-14 13:48:37 
Re: How to determine whether or not there exists a directory
Terence <tbwright@[EMA  2008-05-14 21:24:34 
Re: How to determine whether or not there exists a directory
Terence <tbwright@[EMA  2008-05-14 21:32:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 3:23:53 CDT 2008.