replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Compiling subdirectories fails
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling subdirectories fails

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Wed Mar 30, 2011 9:33 am    Post subject: Compiling subdirectories fails Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Mar 30, 2011 11:48 am    Post subject: Reply with quote

Are you saying that this construct worked for 6.00 but not for 6.10?
Back to top
View user's profile Send private message AIM Address
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Wed Mar 30, 2011 1:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Mar 30, 2011 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Wed Mar 30, 2011 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu Mar 31, 2011 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Thu Mar 31, 2011 8:23 am    Post subject: Reply with quote

Thank you for your offer, I'll also try to check if options like MOD_PATH are possible workarounds/restructuring means.
Back to top
View user's profile Send private message
sparge



Joined: 11 Apr 2005
Posts: 371

PostPosted: Thu Mar 31, 2011 9:26 am    Post subject: Reply with quote

v6.10? When did that come out? I haven't seen any announcement in the announcements section?
Back to top
View user's profile Send private message Send e-mail
Sebastian



Joined: 20 Feb 2008
Posts: 177

PostPosted: Thu Mar 31, 2011 9:51 am    Post subject: Reply with quote

main Silverfrost page
http://www.silverfrost.com/11/ftn95/overview.aspx -> NEWS
Back to top
View user's profile Send private message
silverfrost
Site Admin


Joined: 29 Nov 2006
Posts: 193
Location: Manchester

PostPosted: Thu Mar 31, 2011 11:14 am    Post subject: Re: Reply with quote

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
View user's profile Send private message Visit poster's website
sparge



Joined: 11 Apr 2005
Posts: 371

PostPosted: Thu Mar 31, 2011 12:45 pm    Post subject: Reply with quote

Ah, OK Smile thanks both
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu Mar 31, 2011 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
davidb



Joined: 17 Jul 2009
Posts: 560
Location: UK

PostPosted: Fri Apr 01, 2011 8:27 pm    Post subject: Reply with quote

When is 6.1 going to available for download? All I can find from the download links is version 6.00. Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group