|
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Thu Dec 19, 2013 7:34 pm Post subject: |
|
|
Are you running AVG? _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Thu Dec 19, 2013 9:30 pm Post subject: Checkmate or Release ? |
|
|
@JohnCampbell
Hello John !
Thank you for your very detailed answer
But the first sentence surprises me : why PLATO does not create an "exe" for "/ check"?
If this is the case, I understand very well the necessity of a batch outside PLATO, and I have nothing to add about your example, of which I thank you.
But is it superhuman for the designers of PLATO to include this batch automatically ?? Because since it makes an exe for the " release "mode , why not for the " checkmate "mode ?
For example, I have an old IDE of OpenWatcom (only for Fortran 77 ) which has 2 clicks : one to a " make all " then another to "run" ! And it manages to make meanwhile the "exe"!!
You maybe go to consider that I demand too much, but I am an engineer, specialist of numerical calculation, not a system-engineer... And when I see some IDE of programming BASIC to propose all the actions with only 2 or 3 clicks, I think that FORTRAN does not make much to attract the programmers: if it is necessary that I open a window "cmd ", then that I launch a batch, then a Notepad, then that I correct source in PLATO, then I must begin again every time I change a parameter, I so much like program my calculations of Astronomy with another IDE ...
Having said that, thank you for the time which you spent to answer me !
@davidb
>> Are you running AVG?
No, I have only Avast antivirus
Cordially
Sospel |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Thu Dec 19, 2013 11:57 pm Post subject: |
|
|
Sospel,
Plato does create a .exe file normally (when selected), but you are reporting that it doesn't. My suggestion was to use a batch file, as you might be better able to see why the .exe is not being created, not that Plato does not generate a .exe. I am suggesting that a cmd.exe and .bat approach offers more flexibility to investigate the unusual problem you are having, which I suspect is more a user problem, rather than an IDE problem. It might shed some light onto the problem you are having. Do you use any libraries (.lib) or other external links ?
As you are resorting to /check, the .bat approach is very useful as it allows you to apply /check to only the files that are of interest, and you can apply /debug to the others that do not require being checked. Checking takes much longer to run.
Another approach I have found useful to simplify the process is that if you have multiple .f95 files, you can include them all, using the include statement and then treat the project as a single all.f95 file. Then try "FTN95 all /link".
Code: | ! file all.f95
include 'program.f95'
include 'others.f95'
include 'tools.f95'
include 'user_interface.f95'
|
This works with FTN95, but I have not tried it with Plato. It is a good approach when using a Fortran compiler that you are not familiar with, as the compile and link is a single command, that all compilers I have used support.
Normally you can use the "Build" or "Start" icons to generate a .exe in Plato.
John |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Fri Dec 20, 2013 8:35 am Post subject: |
|
|
Sospel
I don't know why this is happening on your machine.
If you have another PC (or a friend who will let you use theirs) try a fresh download of the personal FTN95, write a "Hello World" program in Plato, save it to a file, select "CheckMate Win32" on the toolbar and then click on the "Build" then the "Start" buttons on the toolbar.
If you only to do this and nothing else then I am confident you will get this exe to run.
After that you will need to experiment to find out how this differs from situation on your original machine. |
|
Back to top |
|
|
sospel
Joined: 26 Apr 2013 Posts: 31
|
Posted: Fri Dec 20, 2013 9:33 am Post subject: Checkmate or Release ? |
|
|
Hello !
Well, I am going to make the manip recommended by Paul.
It is not excluded that there is a bad configuration in my Plato's installation...
I shall see all this in my back from holidays of CHRISTMAS .
In the meantime, good holidays in all
Cordially
Sospel |
|
Back to top |
|
|
|
|
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
|