Skip to content

Commit

Permalink
improved error message in program module.
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Jan 31, 2020
1 parent 297a3fe commit 73029ab
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 32 deletions.
27 changes: 14 additions & 13 deletions .ckr.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"data_name": "CK (machine learning based) multi-objective autotuning",
"data_alias": "ck-autotuning",
"data_uid": "a4328ba99679e0d1",
"data_uoa": "ck-autotuning",
"data_alias": "ck-autotuning",
"data_name": "CK (machine learning based) multi-objective autotuning",
"data_uid": "a4328ba99679e0d1",
"data_uoa": "ck-autotuning",
"dict": {
"checkouts": {
"stable": {
"branch": "master",
"checkout": "5efde26"
}
},
"desc": "Portable and customizable CK workflow for multi-dimensional and multi-objective benchmarking, autotuning and co-design (see real use cases: <a href=\"http://cKnowledge.org/rpi-crowd-tuning\">1</a> and <a href=\"https://github.com/dividiti/ck-request-asplos18-mobilenets-armcl-opencl\">2</a>).",
"repo_deps": [
{
"repo_uoa": "ck-env"
},
},
{
"repo_uoa": "ck-analytics"
}
],
"url": "https://github.com/ctuning/ck-autotuning",
],
"shared": "git",
"checkouts":{
"stable":{
"branch":"master",
"checkout":"5efde26"
}
}
"url": "https://github.com/ctuning/ck-autotuning"
}
}
38 changes: 20 additions & 18 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,48 +1,50 @@
* 2019.07.09 - propagate compiler_tags specifically for "get_compiler_version" subaction based on request here:
* 2020.01.31 - [gfursin] improved error message in program module.

* 2019.07.09 - [gfursin] propagate compiler_tags specifically for "get_compiler_version" subaction based on request here:
https://groups.google.com/forum/#!topic/collective-knowledge/Lu-kQCSrhIE

* 2019.05.26 - [FGG] added 2 flags to ck run program
* 2019.05.26 - [gfursin] added 2 flags to ck run program
--record_deps={file to record resolved dependencies}
--run_batch_name={use this filename instead of randomly generated one
to run a workload}

* 2019.04.28 - [FGG] added automatic installation of MILEPOST repo
* 2019.04.28 - [gfursin] added automatic installation of MILEPOST repo
(see https://github.com/ctuning/ck/issues/100)

* 2019.03.30 - [FGG] changed -lm to %CK_EXTRA_LIB_M% in package:lib-rtl-xopenme
* 2019.03.30 - [gfursin] changed -lm to %CK_EXTRA_LIB_M% in package:lib-rtl-xopenme

* 2019.03.08 - [FGG] added prototype of a flag --use_clang_opt to ck compile program
* 2019.03.08 - [gfursin] added prototype of a flag --use_clang_opt to ck compile program

* 2019.03.05 - [FGG] added link to http://ReuseResearch.com
* 2019.03.05 - [gfursin] added link to http://ReuseResearch.com

* 2019.02.08 - [FGG] improved problem reporting in third-party program workflows (pipelines)
* 2019.02.08 - [gfursin] improved problem reporting in third-party program workflows (pipelines)

* 2018.12.02 - [FGG] added sorting of run_cmds in program meta (using integer "sort")
* 2018.12.02 - [gfursin] added sorting of run_cmds in program meta (using integer "sort")

* 2018.11.28 - [FGG] added info about failed program workflows (how to report)
* 2018.11.28 - [gfursin] added info about failed program workflows (how to report)

* 2018.11.26 - Added APIs to listed modules

* 2018.11.21 - [FGG] added automatic redirect of some APIs
* 2018.11.21 - [gfursin] added automatic redirect of some APIs

* 2018.10.31 - [FGG] minor fix when redirecting git revision to null on Linux
* 2018.10.31 - [gfursin] minor fix when redirecting git revision to null on Linux
(see https://github.com/ctuning/reproduce-milepost-project/issues/8).

* 2018.07.17 - [FGG] added support for new website when generating lists of components
* 2018.07.17 - [gfursin] added support for new website when generating lists of components

* 2018.07.15 - [FGG] added recording of MILEPOST features to JSON file:
* 2018.07.15 - [gfursin] added recording of MILEPOST features to JSON file:
ck pipeline program:{program_name} --speed --no_run --milepost --milepost_out_file=milepost-features.json

* 2018.06.21 - [FGG] when adding new dataset CK will now ask for tags and a file
[FGG] merged patch from Stuart (see issue #30).
* 2018.06.21 - [gfursin] when adding new dataset CK will now ask for tags and a file
[gfursin] merged patch from Stuart (see issue #30).

* 2018.06.17 - [FGG] added --debug_run_cmd to substitute original command line in program with a user one
* 2018.06.17 - [gfursin] added --debug_run_cmd to substitute original command line in program with a user one

* 2018.06.06 - [FGG] automatically generate list of all programs for http://cknowledge.org/shared-programs.html
* 2018.06.06 - [gfursin] automatically generate list of all programs for http://cknowledge.org/shared-programs.html

* 2018.05.27 - [sztaylor] propogate "target" to platform-specific modules (detect info, set freq, etc) - see issue #12.

* 2018.05.24 - [FGG] provided prototype of templates when adding new programs (ck add program --template)
* 2018.05.24 - [gfursin] provided prototype of templates when adding new programs (ck add program --template)

* 2018.05.20 - added "image classification (simulation)" program.species to differentiate
benchmarking on real image classification vs random values
Expand Down
13 changes: 12 additions & 1 deletion module/program/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -7666,10 +7666,19 @@ def print_warning(i):
if url!='':
url1=url+'/tree/master/program/'+pduoa
url2=url+'/issues'

ck.out('')
ck.out(' CK repo URL: '+url)
ck.out(' CK program URL: '+url1)

ck.out(' Issues URL: '+url2)

crurl=ck.cfg.get('wiki_data_web','')
if crurl!='':
crurl+='program/'+pduoa
ck.out('')
ck.out(' CodeReef stable package URL: '+crurl)

ck.out(' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')

x1='the community'
Expand All @@ -7678,7 +7687,9 @@ def print_warning(i):
x1='the authors'
x2=url2

ck.out(' Please, submit the log to '+x1+' of this external CK program workflow at "'+x2+'" to collaboratively fix this problem!')
ck.out('')
ck.out(' Please, submit the *full* log to '+x1+' of this external CK package')
ck.out(' at '+x2+' to collaboratively fix this problem!')
ck.out('')

return {'return':0}

0 comments on commit 73029ab

Please sign in to comment.