473,382 Members | 1,615 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,382 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 1362
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...
1
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.