- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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 !
- Marcas:
- Intel® Fortran Compiler
Link copiado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi Les,
it's my problem : I can not modify any option in the control panel !
Jean
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
For running long simulation I disabled sleeping when the power is not from battery.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
A combination of strong black coffee and loud music. :-)
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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

- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora