[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Compilation with multiple jobs fails
From: |
Ramya S Ganesh (RBEI/ETC5) |
Subject: |
RE: Compilation with multiple jobs fails |
Date: |
Mon, 12 Jun 2017 06:49:44 +0000 |
Hello,
We made use of the below command for starting parallel build
process with an intent to solve the "Waiting for unfinished jobs" issue.
make --output-sync=recurse -j $parallel_process -f
* We used --output-sync=recurse to synchronize the parallel tasks.
* -j $parallel_process( where parallel_process=$NUMBER_OF_PROCESSORS-1)
it automatically detects the cores in the system.
But still we face the issue, Can you suggest a solution for the problem?
Are the options we are using the right ones or are there any other alternatives.
Best regards
S Ganesh Ramya
RBEI/ETC5
Tel. +91 422 667-5704
From: Brian Cowan [mailto:address@hidden
Sent: Friday, June 09, 2017 7:14 PM
To: Ramya S Ganesh (RBEI/ETC5) <address@hidden>; address@hidden
Cc: Arunkumar Perumal (RBEI/ETC5) <address@hidden>
Subject: Re: Compilation with multiple jobs fails
It looks like your GUI covered up the actual error in the line above the "Error
code 1."
The "Waiting for unfinished jobs" is just telling you that other parallel tasks
are still executing.
=============================================================
Brian Cowan
ClearCase/Licensing Software Advisory Team (SWAT)
HCL Technologies at IBM
IBM Cloud Support
550 King St
Littleton MA 01460
Phone: +1 978 899 5436
From: "Ramya S Ganesh (RBEI/ETC5)"
<address@hidden<mailto:address@hidden>>
To: "address@hidden<mailto:address@hidden>"
<address@hidden<mailto:address@hidden>>
Cc: "Arunkumar Perumal \(RBEI/ETC5\)"
<address@hidden<mailto:address@hidden>>
Date: 06/09/2017 01:10 AM
Subject: Compilation with multiple jobs fails
Sent by: "Help-make" <address@hidden<mailto:address@hidden>>
________________________________
Hello,
We have a build tool that uses make scripts with GHS compiler. I had
attached the GUI of the tool.
[cid:image003.png@01D2E10C.C1F65850]
Kindly find below the steps in the build process of our tool.
1) Basic file configurations like setting paths and updation of batch
folder.
2) Deletion of all the object files generated in previous build.
3) Creation of source files(.c) for measurement variables and constants
in the project.
4) Conversion of all the compiler and linker flags from the project
folder into.ccf,.lcf in the workspace.
5) Creation of a .c file with user, project, time of build details.
6) Compilation of .c files in the project, along with the c files
generated in step 2 and 4 by making use of compiler and linker flags in step3
and finally generation of library files.
7) Linking all library files to generate .hex, .mot and .elf files.
8) Creation of .a2l files for the measurement variables and constants
in the project.
9) Merging all the .a2l files.
10) Creation of delivery software.
11) Container generation.
We made use of parallelism along with synchronization for starting the build
process and got the error message I had attached .
[cid:image004.png@01D2E10C.C1F65850]
Kindly find below the command used for parallel build process.
make --output-sync=recurse -j $parallel_process -f
Just for information - the error message occurred on different PCs not always,
but with high probability.
Could you please have a look into it a suggest a reason for the problem.
Thank you,
Best regards
S Ganesh Ramya
RBEI/ETC5
Tel. +91 422 667-5704
[attachment "image003.png" deleted by Brian Cowan/US/HCL/IDE] [attachment
"image004.png" deleted by Brian Cowan/US/HCL/IDE]
_______________________________________________
Help-make mailing list
address@hidden<mailto:address@hidden>
https://lists.gnu.org/mailman/listinfo/help-make