Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Any info about File Watcher ?

WSinc
New Contributor I
1,185 Views
I did a search, and all I could get was some source files in either C++ or VB.

No indication as to its purpose, or how to set it up, or use it.

Is it supposed to be some experimental thing?

Maybe there's an article somewhere?

Actually, I tried to tin it, but since I have the Fortran integration,
I could run either the VB or C++ version.
0 Kudos
6 Replies
reneeculver
Beginner
1,185 Views
FIleWatcher is a "control" and technically is part of the CRF of VS. Therefore (if the Help weren't so bad) you should be able to look it up in VS. Certainly you be able to look it up in VS2008. I run copies on my nodes for the help alone.

It's purpose it not too debatble, it watches over files in a directory and wakes up (therefore it's asynchronous) if there is a state change ina file in the watchers apperture. Filewatcher is by no means experimental.

"tin" it?

Renee
0 Kudos
WSinc
New Contributor I
1,185 Views
Well, I could not run it - it doesn't allow Fortran users to do so, apparently.

All I got was VB and C++ source code, no executables.

One problem is that every time I modify a source file, I am going to get a message.

I only want to get a message when a source file is about to disappear.

VS 2008 is apparently removing the source file from a directory while its
being edited, and something interferes with it putting it back.


Some ******** keeps blaming me for the problem - - -
0 Kudos
reneeculver
Beginner
1,185 Views
I'n afraid it's me who blames you.

If want, you can take a given directoy put together a list to say "watch these files". If any dissapear sound an alarm. that you code.

The problem which that is that the solution is synchronous AND will give you a response on the average of 1/2 the polling interval which is a problem with all synchronous methods. Worse case the error could approach the polling interval.

You'll never get a message telling me when a source is about to dissapear until you know exactly what the conditions are that cause the dissapearance.

Renee
0 Kudos
jimdempseyatthecove
Honored Contributor III
1,185 Views
Renee, I posted this link in a different thread

http://sogeeky.blogspot.com/2006/07/how-to-audit-and-track-file-deletions.html

This may help you find out what is happening.

As to if you can get it to work... you will have to give it a try.

Jim Dempsey
0 Kudos
reneeculver
Beginner
1,185 Views
"Well, I could not run it - it doesn't allow Fortran users to do so, apparently."

Of course it can't be run in fotran. It must be run as a CRL language.

Jim,

I'll take a look.

Renee

0 Kudos
reneeculver
Beginner
1,185 Views
Yes Jim,

That will work splendidly!!!!

Renee
0 Kudos
Reply