- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am an old FORTRAN developper working nowadays with young engineers. We all have laptops but, for some ununderstandable safety reason, Win7 goes to sleep mode after 15 minutes and we have no access to this parameter in 'configuration panel'. I am working on a 'long' app about 6 hours. When I work on the PC, it's ok but I can't go to eat or, worst, I can't test a new version during night.
In the app, I tried to create 'dummy' files on the HDD every now and then but in vain.
Is there a way, from within a Fortran app running in console mode, to prevent Win7 to go sleeping ?
Thanks in advance
Jean
PS English is not my natural language ! I am 'new' to Intel Fortran.
PS I was very pleased to see on this forum that Fortran was well alived !
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Les,
it's my problem : I can not modify any option in the control panel !
Jean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If that is outside of your control then try writing a little application the simulated mouse movement or keyboard input. See https://msdn.microsoft.com/en-us/library/ms171548(v=vs.110).aspx for information.
Start your application, then start one built using information from the above link. Your little application will have to be in focus when you leave the computer.
You can also search "window simulate mouse" or "windows simulate keyboard" and you may find a ready made program.
Or....
Attach a corded mouse to the laptop, get an osculating fan, and tie the corded mouse to the fan such that the fan rolls it around. ;)
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
An osculating fan? Some people love Windows beyond belief, but who wants to touch a mouse that has been osculated?
Oscillating was probably what was intended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yo, u disrespecting Windows.
(damb autospell)
The issue was the has a laptop to which he does not have administrative privileges. As such, he cannot alter the power setting (Les's suggestion).
Consider a Linux situation where the user does not have administrative privileges and the system administrator has configured any of the number of kill job application to kill the apparent runaway application after 10 minutes. Both systems can present the non-administrator with unworkable conditions.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If the Windows computer is managed by a domain administrator, a "group policy" can disable certain settings. For example, on my laptop I can't disable the screen from locking after 15 minutes because Intel's policy is to not allow that change.
The only thing one can do is install a program or device that simulates moving the mouse a bit to fool Windows into thinking it is still in use. https://mousejiggler.codeplex.com/ is one link I found - I have not tried it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For running long simulation I disabled sleeping when the power is not from battery.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Mouse Jiggler software I linked to above seems to work.
Luigi, if you can change that setting, that works, but a group policy set on the laptop may prevent that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A combination of strong black coffee and loud music. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jim,
I found mousemove.codeplex.com and it works great. I can now having meal while leaving my app working. This evening, I'll try a test during the whole night.
>Attach a corded mouse to the laptop, get an osculating fan, and tie the corded mouse to the fan such that the fan rolls it around. ;)
> osculating or oscillating ?
I promise to do that !!! I did'nt know what to do for april's fool day ... I'll try to make a video. I'll write a document in the internal newspaper (I hope you understand) explaining that not only the fan moves the mouse but also cool the laptop because all the core are used 100% with parallelization !!
Thanks for your help
Jean in France

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page