Thanks, both.

Reinstalling Salford Fortran (more strictly, Silverfrost ftn95) did the trick as far as that trusty old steed was concerned; I suppose mingw's gfortran would benefit from the same, but that's of less concern.

Actually, it looks as if Smartscreen isn't to blame although Googled replies to others' historic postings on "this app..." appear to be unanimous that it is! - I think I'd already disabled it.

I kept getting "this app can't run..." when I first set up this pc last year; it was my first 64-bit windows OS, and there were naturally several problems transferring stuff from the old 32-bit PC. So the message would appear to imply a 32/64-bit incompatibility issue. So I was surprised to see it yesterday on something which I knew to work minutes before.

Enough non-J chat - thanks again,

Mike

On 05/02/2014 15:54, Joe Bogner wrote:
Python 3 likely changed the PATH environment variable which may have
changed how dependencies are getting resolved. If you had a command prompt
open, it may have had the old PATH values and then reopening it may have
pulled in the new ones.

Some ideas to try:

1. Temporarily disable smartscreen (
http://superuser.com/questions/660603/disabling-smartscreen-in-windows-8-1)

2. Try running from the command prompt -- maybe you'll get a more detailed
message of what's missing

3. Check the event viewer -- possibly something more detailed there
http://www.computerperformance.co.uk/win8/windows8-event-viewer.htm

Re-install as Raul suggested






On Wed, Feb 5, 2014 at 10:49 AM, Raul Miller <[email protected]> wrote:

You might try reinstalling salford fortran.

--
Raul

On Wed, Feb 5, 2014 at 10:40 AM, Mike Day <[email protected]>
wrote:
Sorry - not J but you're a clever lot out there.... Jchat to avoid
wasting
proper J-time.

Under Windows 8.1,  using the msdos emulation, cmd.exe.

I've been messing around trying to install Python 3 and seem to have
killed
off Python 2.7 (not the end of the world for me),  but on the way I
experimented with running gfortran under mingw,  new to me.  I compiled a
source file successfully, and ran the object code.  I then wished to
compare
its performance with the same file compiled under salford fortran, which
I've been using for ever.  But on running the latter I got the error
message
"This app can't run on your pc" ... the salford compiler wasn't able to
run.
I thought I should have run the cmd.exe as administrator,  so closed and
reopened as admin.  Now the gfortran won't run either.

So I then did the traditional "restart",  but still no success.

Google says SmartScreen is at fault,  but attempts to disable it haven't
so
far borne fruit.

I expect there's a regedit tweak - but any useful help welcome.

Thanks in advance,

Mike




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to