Silverfrost Forums

Welcome to our forums

Compiling subdirectories fails

30 Mar 2011 8:33 #7987

In ftn95 v6.10 subdirectory compilation like 'ftn95 dir\*.f95' reportedly fails.

Output for example:

D:\dirtest>ftn95 subdir\*.f95 Compiling D:\dirtest\test.f95 *** Source file 'D:\dirtest\test.F95' cannot be opened

Note that for some reason it says 'Compiling D:\dirtest\test.f95' rather than 'Compiling D:\dirtest\subdir\test.f95'

Is this on purpose? The reason why some things are set up in this manner is to have all objects/module output files in the main directory.

Thanks.

30 Mar 2011 10:48 #7988

Are you saying that this construct worked for 6.00 but not for 6.10?

30 Mar 2011 12:43 #7989

Yes, this definitely worked fine in 6.00 (except for some crashes during compilation, those reportedly are fixed in 6.10 though).

30 Mar 2011 3:58 #7990

OK this looks like a regression. For the time being can you change directory (cd) to the subdirectory before issuing the command?

30 Mar 2011 4:15 #7991

That doesn't work per se since in the working case all module output and object files are in the parent directory (D:\dirtest in my small example) and if CDing into the subdirectory will result in module output and object files in the subdirectory (so a lot of USE statements do not work).

As a quick workaround I'm copying object files around a lot, which sort of works.

31 Mar 2011 6:48 #7992

It will be some time before the next release so I will fix the bug and send you a beta FTN95. Keep an eye on this thread for further information.

31 Mar 2011 7:23 #7993

Thank you for your offer, I'll also try to check if options like MOD_PATH are possible workarounds/restructuring means.

31 Mar 2011 8:26 #7994

v6.10? When did that come out? I haven't seen any announcement in the announcements section?

31 Mar 2011 8:51 #7996

main Silverfrost page http://www.silverfrost.com/11/ftn95/overview.aspx → NEWS

31 Mar 2011 10:14 #7997

Quoted from sparge v6.10? When did that come out? I haven't seen any announcement in the announcements section?

We don't announce it immediately - we wait a few days just to check there aren't any show-stoppers that snuck out with it.


-- Admin Silverfrost Limited
31 Mar 2011 11:45 #7999

Ah, OK 😃 thanks both

31 Mar 2011 2:19 #8001

Sebastian

I have fixed this regression. Can you send me a forum message with your email address so that I can send the beta to you.

1 Apr 2011 7:27 #8004

When is 6.1 going to available for download? All I can find from the download links is version 6.00. 😦

Please login to reply.