473,320 Members | 2,110 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

independent runs with copies of executable possible?

Greetings,
I have a large console C code that is compiled every night by the master
machine that hosts the source. I have a number of slave machines that then
make copies of the executable on their own disk, and run a series of tests.
The code is built with VS2005 rc on the master and each of the slave
machines has its own copy of VS2005 rc although they simply copy the exe
file to their own space.

These tests take a full day, and the problem is that the master cannot
rebuild its own version of the executable while the slaves are running their
own copies. Apparently, the fact that the slaves are running their own
copies of the exe on their own disks blocks the master from updating its
copy - the log file has an error saying that the linker cannot open the exe
file. The actual error in the log is the following:
Linking...
LINK : fatal error LNK1104: cannot open file 'Release/current.exe'

is there a link time, or other option, to allow the exe file to become
independent of the remaining infrastructure? is there any way to create
independent instances of the same executable other than doing a complete
rebuild on each slave?

many thanks,
Gary Ferland
Sep 27 '05 #1
3 1360
Hi Gary,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you're developing on a C app using
VS.NET 2005 RC. You need to build the main exe without first building the
dependent libraries. If there is any misunderstanding, please feel free to
let me know.

As far as I know, this is not possible. When you build the exe, you must
have the dependent dlls first. But after your master server builds the exe,
and copy spread them by copying to the slave machines, I think the exe on
the master server will not be in use, and you can build again. Are the exes
using some shared resources in this case?

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Sep 28 '05 #2
Hi Kevin,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you're developing on a C app using
VS.NET 2005 RC. You need to build the main exe without first building the
dependent libraries. If there is any misunderstanding, please feel free to
let me know.
there are no libraries other than the standard ansi c libraries.

As far as I know, this is not possible. When you build the exe, you must
have the dependent dlls first. But after your master server builds the
exe,
and copy spread them by copying to the slave machines, I think the exe on
the master server will not be in use, and you can build again. Are the
exes
using some shared resources in this case?


they must be using some shared resource, that would account for the problems
I am having. The code is totally self contained. The exe is created by
linking the compiled routines against the standard C libraries. The app is
command prompt only, no windows api at all. it just does number crunching.

the app is totally cross platform, and this trick works on other OSs.

thanks for any ideas,
Gary
Sep 28 '05 #3
Hi Gary,

I agree with you that these copies of exes are using some shared resources.
Since the copies are running on the slave machines seperately, I suggest
you try to check the code to see if they are using some shared resources on
the master build server.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Sep 29 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Craig Ringer | last post by:
Hi folks I'm a bit of a newbie here, though I've tried to appropriately research this issue before posting. I've found a lot of questions, a few answers that don't really answer quite what I'm...
3
by: Steven Bethard | last post by:
This has probably been answered before, but my Google skills have failed me so far... Is there an os independent way of checking to see if a particular executable is on the path? Basically what...
3
by: Gary Ferland | last post by:
Greetings, I have a large console C code that is compiled every night by the master machine that hosts the source. I have a number of slave machines that then make copies of the executable on...
4
by: John | last post by:
I'd like to write a programme that runs on a PC with two monitors. The application would be used in a shop, with one monitor for shop assistant and the other for the customer. The two must show...
34
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about...
10
by: Andrew Neiderer | last post by:
I think I am asking the right newsgroup. If not maybe someone could tell me where to ask this "beginner" question. I want to click on an image (.jpg) that launches a Microsoft window (cmd.exe...
1
by: lovecreatesbea... | last post by:
Does the ability of making a C compiler on a particular machine mean the machine-independent of C computer language on this kind of machine?
3
by: saneman | last post by:
I have read that Python is a platform independent language. But on this page: http://docs.python.org/tut/node4.html#SECTION004220000000000000000 it seems that making a python script...
114
by: Andy | last post by:
Dear Python dev community, I'm CTO at a small software company that makes music visualization software (you can check us out at www.soundspectrum.com). About two years ago we went with decision...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.