View previous topic :: View next topic |
Author |
Message |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Wed Mar 30, 2011 9:33 am Post subject: Compiling subdirectories fails |
|
|
In ftn95 v6.10 subdirectory compilation like "ftn95 dir\*.f95" reportedly fails.
Output for example:
Quote: | 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. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Mar 30, 2011 11:48 am Post subject: |
|
|
Are you saying that this construct worked for 6.00 but not for 6.10? |
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Wed Mar 30, 2011 1:43 pm Post subject: |
|
|
Yes, this definitely worked fine in 6.00 (except for some crashes during compilation, those reportedly are fixed in 6.10 though). |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Wed Mar 30, 2011 4:58 pm Post subject: |
|
|
OK this looks like a regression. For the time being can you change directory (cd) to the subdirectory before issuing the command? |
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Wed Mar 30, 2011 5:15 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Thu Mar 31, 2011 7:48 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
Posted: Thu Mar 31, 2011 8:23 am Post subject: |
|
|
Thank you for your offer, I'll also try to check if options like MOD_PATH are possible workarounds/restructuring means. |
|
Back to top |
|
 |
sparge
Joined: 11 Apr 2005 Posts: 371
|
Posted: Thu Mar 31, 2011 9:26 am Post subject: |
|
|
v6.10? When did that come out? I haven't seen any announcement in the announcements section? |
|
Back to top |
|
 |
Sebastian
Joined: 20 Feb 2008 Posts: 177
|
|
Back to top |
|
 |
silverfrost Site Admin

Joined: 29 Nov 2006 Posts: 193 Location: Manchester
|
Posted: Thu Mar 31, 2011 11:14 am Post subject: Re: |
|
|
sparge wrote: | 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. |
|
Back to top |
|
 |
sparge
Joined: 11 Apr 2005 Posts: 371
|
Posted: Thu Mar 31, 2011 12:45 pm Post subject: |
|
|
Ah, OK thanks both |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8210 Location: Salford, UK
|
Posted: Thu Mar 31, 2011 3:19 pm Post subject: |
|
|
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. |
|
Back to top |
|
 |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Fri Apr 01, 2011 8:27 pm Post subject: |
|
|
When is 6.1 going to available for download? All I can find from the download links is version 6.00.  |
|
Back to top |
|
 |
|