cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

SPECapc PTC Creo 3.0 benchmark run fail

tjacky
1-Newbie

SPECapc PTC Creo 3.0 benchmark run fail

I got a problem when I run the SPECapc PTC Creo 3.0 benchmark on creo 3 with fully license, the error message said " Installed graphics supports a minimum of 8x MSAA so compare results only to 8x MSAA results". Did anybody had this issue? Many Thanks.

 

@echo OFF

REM SPECapc PTC Creo 3.0 benchmark

REM

REM Parameter 1 : (optional) Pro/E command -- the command to start Pro/ENGINEER

REM (default is "C:\Program Files\PTC\Creo 3.0\U490\Parametric\bin\parametric.exe")

REM Parameter 2 : (optional) if set to "batch" the notepad output will be disabled to allow for multiple simultaneous runs

REM

REM Contents ?Copyright 2014, Standard Performance Evaluation Corporation

REM

 

 

REM Edit the definition of BASE_DIR to indicate the path to the  top-level directory of

REM the tree  of benchmark files.

 

 

SET BASE_DIR=..

 

 

SET TRAIL_DIR=%BASE_DIR%\benchmark\apc_trails

SET BENCH_DIR=%BASE_DIR%\benchmark

SET SCORE_DIR=%BASE_DIR%\results

SET UTILITIES_DIR=%BASE_DIR%\utilities

SET CONFIG_DIR=%BASE_DIR%\config

SET SCRIPT_DIR=%BASE_DIR%\trail

 

 

SET PROECMD="C:\Program Files\PTC\Creo 3.0\M010\Parametric\bin\parametric.exe"

SET PRO_MACHINE_TYPE=i486_nt

SET TRAIL="All_V25.txt"

SET CHECK=FALSE

SET BAT=FALSE

 

 

REM Copy config and trail file into benchmark directory

IF EXIST %CONFIG_DIR%\config.pro COPY /Y %CONFIG_DIR%\config.pro %BENCH_DIR%\

IF EXIST %CONFIG_DIR%\config.win.32 COPY /Y %CONFIG_DIR%\config.win.32 %BENCH_DIR%\

 

 

REM see if any parameter is "batch"

IF "%1"=="batch" SET BAT=TRUE

IF "%1"=="BATCH" SET BAT=TRUE

IF "%2"=="batch" SET BAT=TRUE

IF "%2"=="BATCH" SET BAT=TRUE

 

 

REM set the ProE Command

IF "%BAT%"=="TRUE" goto skipcmd

IF NOT "%1"=="" SET PROECMD=%1

:skipcmd

 

 

REM Create Directory to hold trail files

IF NOT EXIST %TRAIL_DIR% mkdir %TRAIL_DIR%

 

 

REM Clean up any old files

IF EXIST %TRAIL_DIR%\trail.txt.* DEL /Q %TRAIL_DIR%\trail.txt.*

IF EXIST %TRAIL_DIR%\current_session.pro DEL /Q %TRAIL_DIR%\current_session.pro

IF EXIST %BENCH_DIR%\4901000_asm__out.log.1 DEL /Q %BENCH_DIR%\4901000_asm__out.log.1

IF EXIST %BENCH_DIR%\4901000_asm.igs DEL /Q %BENCH_DIR%\4901000_asm.igs

IF EXIST %BENCH_DIR%\4903000_asm__out.log.1 DEL /Q %BENCH_DIR%\4903000_asm__out.log.1

IF EXIST %BENCH_DIR%\4903000_asm.igs DEL /Q %BENCH_DIR%\4903000_asm.igs

IF EXIST %BENCH_DIR%\01-2_crankshaft.asm.2 DEL /Q %BENCH_DIR%\01-2_crankshaft.asm.2

IF EXIST %BENCH_DIR%\crankshaft.drw.1 DEL /Q %BENCH_DIR%\crankshaft.drw.1

IF EXIST %BENCH_DIR%\01-20000.m_p DEL /Q %BENCH_DIR%\01-20000.m_p

IF EXIST %BENCH_DIR%\worldcar_shaded.tif DEL /Q %BENCH_DIR%\worldcar_shaded.tif

IF EXIST %BENCH_DIR%\worldcar_exploded.tif DEL /Q %BENCH_DIR%\worldcar_exploded.tif

IF EXIST %BENCH_DIR%\worldcar_shadedEdges.tif DEL /Q %BENCH_DIR%\worldcar_shadedEdges.tif

IF EXIST %BENCH_DIR%\worldcar_shadedReflection.tif DEL /Q %BENCH_DIR%\worldcar_shadedReflection.tif

IF EXIST %BENCH_DIR%\worldcar_wireframe.tif DEL /Q %BENCH_DIR%\worldcar_wireframe.tif

IF EXIST %BENCH_DIR%\worldcar_nohidden.tif DEL /Q %BENCH_DIR%\worldcar_nohidden.tif

IF EXIST %BENCH_DIR%\worldcar_hidden.tif DEL /Q %BENCH_DIR%\worldcar_hidden.tif

IF EXIST %BENCH_DIR%\worldcar_shaded8xAA.tif DEL /Q %BENCH_DIR%\worldcar_shaded8xAA.tif

IF EXIST %BENCH_DIR%\worldcar_shadedReflTransp.tif DEL /Q %BENCH_DIR%\worldcar_shadedReflTransp.tif

IF EXIST %TRAIL_DIR%\current_session.pro DEL /Q %TRAIL_DIR%\benchmark_Body_Appearances\current_session.pro

IF EXIST %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflSSAO.tif DEL /Q %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflSSAO.tif

IF EXIST %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflPersp.tif DEL /Q %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflPersp.tif

IF EXIST %BENCH_DIR%\Relations_to_verify.log.* DEL /Q %BENCH_DIR%\Relations_to_verify.log.*

 

 

REM Move APPDATA to ensure dialogs are always the same

IF EXIST %APPDATA%\PTC-TEMP RMDIR /S /Q %APPDATA%\PTC-TEMP

MOVE %APPDATA%\PTC %APPDATA%\PTC-TEMP

ROBOCOPY /njh /njs /ndl /nc /ns %UTILITIES_DIR%\PTC-BM %APPDATA%\PTC *.* /E > log:nul

 

 

REM Run the benchmark

PUSHD %BENCH_DIR%

call %PROECMD% 0 7 1 %TRAIL% pro_wait

POPD

 

 

REM Move APPDATA back to original settings

IF EXIST %APPDATA%\PTC RMDIR /S /Q %APPDATA%\PTC

MOVE %APPDATA%\PTC-TEMP %APPDATA%\PTC

 

 

 

 

REM Create Directory to hold results

IF NOT EXIST %SCORE_DIR% mkdir %SCORE_DIR%

REM Remove any old copies of the trail, score and results files

IF EXIST %SCORE_DIR%\score.txt DEL /Q %SCORE_DIR%\score.txt

IF EXIST %SCORE_DIR%\score-steps.txt DEL /Q %SCORE_DIR%\score-steps.txt

IF EXIST %SCORE_DIR%\score.csv DEL /Q %SCORE_DIR%\score.csv

IF EXIST %SCORE_DIR%\result.txt DEL /Q %SCORE_DIR%\result.txt

IF EXIST %SCORE_DIR%\trail.txt DEL /Q %SCORE_DIR%\trail.txt

IF EXIST %SCORE_DIR%\worldcar_shaded.tif DEL /Q %SCORE_DIR%\worldcar_shaded.tif

IF EXIST %SCORE_DIR%\worldcar_exploded.tif DEL /Q %SCORE_DIR%\worldcar_exploded.tif

IF EXIST %SCORE_DIR%\worldcar_shadedEdges.tif DEL /Q %SCORE_DIR%\worldcar_shadedEdges.tif

IF EXIST %SCORE_DIR%\worldcar_shadedReflection.tif DEL /Q %SCORE_DIR%\worldcar_shadedReflection.tif

IF EXIST %SCORE_DIR%\worldcar_wireframe.tif DEL /Q %SCORE_DIR%\worldcar_wireframe.tif

IF EXIST %SCORE_DIR%\worldcar_nohidden.tif DEL /Q %SCORE_DIR%\worldcar_nohidden.tif

IF EXIST %SCORE_DIR%\worldcar_hidden.tif DEL /Q %SCORE_DIR%\worldcar_hidden.tif

IF EXIST %SCORE_DIR%\worldcar_shaded8xAA.tif DEL /Q %SCORE_DIR%\worldcar_shaded8xAA.tif

IF EXIST %SCORE_DIR%\worldcar_shadedReflTransp.tif DEL /Q %SCORE_DIR%\worldcar_shadedReflTransp.tif

IF EXIST %SCORE_DIR%\worldcar_shadedReflSSAO.tif DEL /Q %SCORE_DIR%\worldcar_shadedReflSSAO.tif

IF EXIST %SCORE_DIR%\worldcar_shadedReflPersp.tif DEL /Q %SCORE_DIR%\worldcar_shadedReflPersp.tif

 

 

REM Calculate Score

COPY /Y %TRAIL_DIR%\trail.txt.1 %SCORE_DIR%\trail.txt

COPY /Y %UTILITIES_DIR%\apc.dat %SCORE_DIR%\apc.dat

%UTILITIES_DIR%\%PRO_MACHINE_TYPE%\ProEscore.exe -useconfig -checkaa %SCORE_DIR%\trail.txt >> %SCORE_DIR%\score.txt

%UTILITIES_DIR%\%PRO_MACHINE_TYPE%\ProEscore.exe -steps -noconfig %SCORE_DIR%\trail.txt >> %SCORE_DIR%\score-steps.txt

MOVE score.csv %SCORE_DIR%\score.csv

MOVE result.txt %SCORE_DIR%\result.txt

MOVE %BENCH_DIR%\worldcar_shaded.tif %SCORE_DIR%\worldcar_shaded.tif

MOVE %BENCH_DIR%\worldcar_exploded.tif %SCORE_DIR%\worldcar_exploded.tif

MOVE %BENCH_DIR%\worldcar_shadedEdges.tif %SCORE_DIR%\worldcar_shadedEdges.tif

MOVE %BENCH_DIR%\worldcar_shadedReflection.tif %SCORE_DIR%\worldcar_shadedReflection.tif

MOVE %BENCH_DIR%\worldcar_wireframe.tif %SCORE_DIR%\worldcar_wireframe.tif

MOVE %BENCH_DIR%\worldcar_nohidden.tif %SCORE_DIR%\worldcar_nohidden.tif

MOVE %BENCH_DIR%\worldcar_hidden.tif %SCORE_DIR%\worldcar_hidden.tif

MOVE %BENCH_DIR%\worldcar_shaded8xAA.tif %SCORE_DIR%\worldcar_shaded8xAA.tif

MOVE %BENCH_DIR%\worldcar_shadedReflTransp.tif %SCORE_DIR%\worldcar_shadedReflTransp.tif

MOVE %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflSSAO.tif   %SCORE_DIR%\worldcar_shadedReflSSAO.tif

MOVE %BENCH_DIR%\benchmark_Body_Appearances\worldcar_shadedReflPersp.tif  %SCORE_DIR%\worldcar_shadedReflPersp.tif

 

 

IF %BAT%==TRUE GOTO end

CALL notepad %SCORE_DIR%\score.txt

 

 

:end


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Top Tags