Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
binary_c-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Izzard, Robert Dr (Maths & Physics)
binary_c-python
Commits
03f1a7a0
Commit
03f1a7a0
authored
5 years ago
by
David Hendriks
Browse files
Options
Downloads
Patches
Plain Diff
updated todo
parent
6e8d2b29
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
#TODO.org#
+18
-0
18 additions, 0 deletions
#TODO.org#
.#TODO.org
+1
-0
1 addition, 0 deletions
.#TODO.org
TODO.org
+13
-13
13 additions, 13 deletions
TODO.org
binary_c_python.c
+2
-2
2 additions, 2 deletions
binary_c_python.c
make_output.txt
+5
-5
5 additions, 5 deletions
make_output.txt
with
39 additions
and
20 deletions
#TODO.org#
0 → 100644
+
18
−
0
View file @
03f1a7a0
* Todo list for the binary_c-python
** Logging functionality:
Idea is to be able to give a string via python that will be used in the through the libbinary_c.so so that log_every_timestep.c
** General:
*** DONE Get a more reliable way of loading the default values (running a ./tbse echo or something?)
CLOSED: [2019-10-29 Tue 17:44]
*** DONE make routine that reads out all the lines, splits them into pieces and reads out the correct key
CLOSED: [2019-10-29 Tue 17:43]
*** TODO Put header and other source files in a dedicated directory
*** TODO Use sphinx or read the docs for auto generation of documentation
*** TODO Have the compiled files put into a build directory
*** TODO add pythonpath thing to readme
*** TODO make script that will set up binaryc automatically so that this can become an out of the box thing
*** TODO Test the importing of this code from different places
** Population ideas
*** TODO Queuing system and some multiprocessing to run many systems
*** TODO Consider rewriting the work that perl does
This diff is collapsed.
Click to expand it.
.#TODO.org
0 → 120000
+
1
−
0
View file @
03f1a7a0
david@david-Lenovo-IdeaPad-S340-14IWL.21326:1572369068
\ No newline at end of file
This diff is collapsed.
Click to expand it.
TODO.org
+
13
−
13
View file @
03f1a7a0
* Todo list for the binary_c-python
* Todo list for the binary_c-python
---------------------
** Logging functionality:
** General:
Idea is to be able to give a string via python that will be used in the
** DONE Get a more reliable way of loading the default values (running a ./tbse echo or something?)
CLOSED: [2019-10-29 Tue 17:44]
** DONE make routine that reads out all the lines, splits them into pieces and reads out the correct key
** General:
CLOSED: [2019-10-29 Tue 17:43]
*** DONE Get a more reliable way of loading the default values (running a ./tbse echo or something?)
** TODO Put header and other source files in a dedicated directory
CLOSED: [2019-10-29 Tue 17:44]
** TODO Use sphinx or read the docs for auto generation of documentation
*** DONE make routine that reads out all the lines, splits them into pieces and reads out the correct key
** TODO Have the compiled files put into a build directory
CLOSED: [2019-10-29 Tue 17:43]
** TODO add pythonpath thing to readme
*** TODO Put header and other source files in a dedicated directory
** TODO make script that will set up binaryc automatically so that this can become an out of the box thing
*** TODO Use sphinx or read the docs for auto generation of documentation
** TODO Test the importing of this code from different places
*** TODO Have the compiled files put into a build directory
*** TODO add pythonpath thing to readme
*** TODO make script that will set up binaryc automatically so that this can become an out of the box thing
*** TODO Test the importing of this code from different places
** Population ideas
** Population ideas
*** TODO Queuing system and some multiprocessing to run many systems
*** TODO Queuing system and some multiprocessing to run many systems
*** TODO Consider rewriting the work that perl does
*** TODO Consider rewriting the work that perl does
This diff is collapsed.
Click to expand it.
binary_c_python.c
+
2
−
2
View file @
03f1a7a0
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Remember: variables must be passed by references
* Remember: variables must be passed by references
* (i.e. as pointers).
* (i.e. as pointers).
*
*
* See apitest.py for an ex
p
mple of how to use these functions.
* See apitest.py for an ex
a
mple of how to use these functions.
*
*
* See also
* See also
* http://www-h.eng.cam.ac.uk/help/tpl/languages/mixinglanguages.html
* http://www-h.eng.cam.ac.uk/help/tpl/languages/mixinglanguages.html
...
@@ -230,4 +230,4 @@ static PyObject* binary_c_return_arglines(PyObject *self, PyObject *args)
...
@@ -230,4 +230,4 @@ static PyObject* binary_c_return_arglines(PyObject *self, PyObject *args)
free
(
buffer
);
free
(
buffer
);
/* Return an object containing the arg list */
/* Return an object containing the arg list */
return
ret
;
return
ret
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
make_output.txt
+
5
−
5
View file @
03f1a7a0
gcc -fPIC `/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/binary_c-config --flags` -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/ -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/API -c -o binary_c_python_api.o binary_c_python_api.c
gcc -fPIC `/
home/david/project
s/binary
_c_root
/binary_c/binary_c-config --flags` -I/
home/david/project
s/binary
_c_root
/binary_c/src/ -I/
home/david/project
s/binary
_c_root
/binary_c/src/API -c -o binary_c_python_api.o binary_c_python_api.c
gcc -DBINARY_C=/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c -fPIC `/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/binary_c-config --flags` -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/ -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/API binary_c_python_api.c -c -lbinary_c `/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/binary_c-config --libs`
gcc -DBINARY_C=/
home/david/project
s/binary
_c_root
/binary_c -fPIC `/
home/david/project
s/binary
_c_root
/binary_c/binary_c-config --flags` -I/
home/david/project
s/binary
_c_root
/binary_c/src/ -I/
home/david/project
s/binary
_c_root
/binary_c/src/API binary_c_python_api.c -c -lbinary_c `/
home/david/project
s/binary
_c_root
/binary_c/binary_c-config --libs`
gcc -DBINARY_C=/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c -shared -o libbinary_c_api.so binary_c_python_api.o
gcc -DBINARY_C=/
home/david/project
s/binary
_c_root
/binary_c -shared -o libbinary_c_api.so binary_c_python_api.o
python3 setup.py build_ext --inplace
python3 setup.py build_ext --inplace
running build_ext
running build_ext
building 'binary_c' extension
building 'binary_c' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DALIGNSIZE=16 -DCPUFREQ=3
6
00 -DLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__
HAVE_PERF_EVENTS
__ -DGIT_REVISION=
1
:2019
0808:97d7029f
-DGIT_URL=gitlab@gitlab.eps.surrey.ac.uk:ri0005/binary_c.git -DGIT_BRANCH=
branch_david
-D__HAVE_AVX__ -D__HAVE_DRAND48__ -D__HAVE_GSL__ -DUSE_GSL
-D__HAVE_LIBBSD__
-D__HAVE_MALLOC_H__ -D__HAVE_PKG_CONFIG__
-D__HAVE_VALGRIND__
-D__SHOW_STARDATA__ -DBINARY_C_API_H=/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/API/binary_c_API.h -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src/API -I/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c -I/usr/include -I/
user/HS128/dh00601/gsl/include -I/user/HS128/dh00601/.pyenv/versions/binaryc_py3.6.4/include -I/user/HS128/dh00601
/.pyenv/versions/3.6.4/include/python3.6m -c binary_c_python.c -o build/temp.linux-x86_64-3.6/binary_c_python.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DALIGNSIZE=16 -DCPUFREQ=3
9
00 -DLINUX -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__
DIFF_STARDATA
__ -DGIT_REVISION=
4519
:2019
1029:e21f3501
-DGIT_URL=gitlab@gitlab.eps.surrey.ac.uk:ri0005/binary_c.git -DGIT_BRANCH=
master
-D__HAVE_AVX__ -D__HAVE_DRAND48__ -D__HAVE_GSL__ -DUSE_GSL -D__HAVE_MALLOC_H__ -D__HAVE_PKG_CONFIG__ -D__SHOW_STARDATA__ -DBINARY_C_API_H=/
home/david/project
s/binary
_c_root
/binary_c/src/API/binary_c_API.h -I/
home/david/project
s/binary
_c_root
/binary_c/src -I/
home/david/project
s/binary
_c_root
/binary_c/src/API -I/
home/david/project
s/binary
_c_root
/binary_c -I/usr/include -I/
home/david/gsl/include -I/home/david
/.pyenv/versions/3.6.4/include/python3.6m -c binary_c_python.c -o build/temp.linux-x86_64-3.6/binary_c_python.o
gcc -pthread -shared -L/
user/HS128/dh00601
/.pyenv/versions/3.6.4/lib -L/
user/HS128/dh00601
/.pyenv/versions/3.6.4/lib build/temp.linux-x86_64-3.6/binary_c_python.o -L/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src -L./ -L-L/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c -L-L/
user/HS128/dh00601
/gsl/lib -Wl,--enable-new-dtags,-R/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c/src -Wl,--enable-new-dtags,-R./ -Wl,--enable-new-dtags,-R-L/
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c -Wl,--enable-new-dtags,-R-L/
user/HS128/dh00601
/gsl/lib -lbinary_c -lgsl -lgslcblas -lm
-lbsd
-lc -lm -ldl -lbinary_c_api -o /
vol/ph/astro_code/dhendrik
s/binary
c
/binary_c-python/binary_c.cpython-36m-x86_64-linux-gnu.so
gcc -pthread -shared -L/
home/david
/.pyenv/versions/3.6.4/lib -L/
home/david
/.pyenv/versions/3.6.4/lib build/temp.linux-x86_64-3.6/binary_c_python.o -L/
home/david/project
s/binary
_c_root
/binary_c/src -L./ -L-L/
home/david/project
s/binary
_c_root
/binary_c -L-L/
home/david
/gsl/lib -Wl,--enable-new-dtags,-R/
home/david/project
s/binary
_c_root
/binary_c/src -Wl,--enable-new-dtags,-R./ -Wl,--enable-new-dtags,-R-L/
home/david/project
s/binary
_c_root
/binary_c -Wl,--enable-new-dtags,-R-L/
home/david
/gsl/lib -lbinary_c -lgsl -lgslcblas -lm -lc -lm -ldl -lbinary_c_api -o /
home/david/project
s/binary
_c_root
/binary_c-python/binary_c.cpython-36m-x86_64-linux-gnu.so
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment