View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002860 | CMake | CTest | public | 2006-02-07 22:20 | 2006-06-26 10:46 | ||||
Reporter | Hans Johnson | ||||||||
Assigned To | System Admin | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002860: Error reported whre there is none | ||||||||
Description | When multiple copies of cmake run at the same time. The following example is a very simple program that reads in 5 copies of a small image with 100 at all values, and does some statistics on the data. ====== CMAKE ====== for i in $(seq 1 1 10); do ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 & done [1] 1148 [2] 1149 [3] 1150 [4] 1151 [5] 1152 [6] 1153 [7] 1154 [8] 1155 [9] 1156 [10] 1157 [hjohnson@ipl3 FAST]$ fg ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] Exit 8 ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [2] Exit 8 ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [4] Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [5] Exit 8 ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [6] Exit 8 ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [7] Exit 8 ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [8] Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [9]- Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 ==== Same test with 'wait' to force sequential test ===== for i in $(seq 1 1 10); do ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 & wait ;done[1] 4780[1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1[1] 4790[1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1[1] 4800 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4810 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4820 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4830 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4840 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4850 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4860 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 [1] 4870 [1]+ Done ctest -V -R "^ImageCalculator2DTest2" >Log.$i 2>&1 ==== Same test outside of CMAKE ===== [hjohnson@ipl3 FAST]$ for file in $(seq 1 1 10); do /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >> Test.$file 2>&1 & done [1] 3740 [2] 3741 [3] 3742 [4] 3743 [5] 3744 [6] 3745 [7] 3746 [8] 3747 [9] 3748 [10] 3749 [hjohnson@ipl3 FAST]$ [1] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [2] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [3] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [4] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [5] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [6] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [7] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [8] Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [9]- Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 [10]+ Done /scratch/hjohnson/src/brains2/icc/FAST/src/bin/ImageCalculator.exe -in /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png /scratch/hjohnson/src/brains2/src/iplProg/gec/gectools/ImageCalculator/TestImages/AllHundreds.png -intype UCHAR -outtype USHORT -add -out /scratch/hjohnson/src/brains2/icc/FAST/src/iplProg/gec/gectools/ImageCalculator/Test.png -d 2 -statNPX -statMIN -statAVG -statMAX -statVAR -statSUM >>Test.$file 2>&1 ========================== This also seems to manifest when the computer is under heavy load. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0003702) Hans Johnson (reporter) 2006-02-07 23:48 |
SGI IRIX and Mac OS X do not seem to exibit this problem. Our linux systems are all hyperthreaded P4 Redhat EL4 with all updates. The problem shows up on both dual and single processors. |
(0004191) Hans Johnson (reporter) 2006-06-09 14:33 |
UPDATE: This problem seems to have resolved itself. Probably due to cmake update, or OS updates. |
(0004343) Ken Martin (developer) 2006-06-26 10:46 |
Thanks, marking as closed. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |