#525: Clean up CCTK_GFINDEX definitions
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus | Version:
Keywords: |
-------------------------+--------------------------------------------------
The way in which CCTK_GFINDEX is defined is a bit complex, probably
unnecessarily so. The file cctk.h distinguishes between compilers which
support inlining and compilers which don't. This is probably useless these
days since every compiler supports inlining, and if not, we don't really
expect it to be fast.
If the compiler supports inlining, we define static inline functions,
which may or may not check array indices. If the compiler does not support
inlining, and if CCTK_DEBUG is defined, then we use regular functions
defined in DebugDefines.c, otherwise (i.e. without CCTK_DEBUG) we use
macros.
Overall, the indexing functions are defined three times, including once as
macros. I suggest to simplify this, based on the assumption that every
fast compiler supports inlining. I assume so because (a) the ubiquity of
C++, which relies heavily on inlining, and (b) C99 officially introduced
inlining 12 years ago.
The new setup would have "static inline" definitions (without index
checking) in cctk.h, and would have regular functions (with index
checking) in DebugDefines.c, and would choose between these two
implementations via CCTK_DEBUG.
This would eliminate the macros, and would eliminate the case distinction
based on whether the compiler supports inlining.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/525>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#262: make error messages in ReflectionSymmetry more informative
--------------------------------------------+-------------------------------
Reporter: roland.haas@… | Type: enhancement
Status: new | Priority: minor
Milestone: | Component: Cactus
Version: | Keywords:
--------------------------------------------+-------------------------------
this small patch includes the value of ierr in ReflectionSymmetries error
messages
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/262>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#339: ExternalLibraries/OpenSSL does not compile in 64-bit mode on Mac OS
---------------------------------------+------------------------------------
Reporter: hinder | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: Cactus | Version:
Keywords: ExternalLibraries/OpenSSL |
---------------------------------------+------------------------------------
Compiling OpenSSL using ExternalLibraries leads to the following warning,
followed by a build failure:
+ cd openssl-1.0.0d
+ ./config
--prefix=/Users/ian/Cactus/et/configs/fink/scratch/external/OpenSSL
Operating system: i686-apple-darwinDarwin Kernel Version 10.6.0: Wed Nov
10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386
WARNING! If you wish to build 64-bit library, then you have to
invoke './Configure darwin64-x86_64-cc' *manually*.
You have about 5 seconds to press Ctrl-C to abort.
Configuring for darwin-i386-cc
I don't know how to detect that the compiler is building in 64-bit mode in
order to add the corresponding flag to the Configure line.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/339>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#430: Convert all parameter files, examples, and test cases to EOS_Omni
-----------------------------------+----------------------------------------
Reporter: eschnett | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: EinsteinToolkit thorn | Version:
Keywords: |
-----------------------------------+----------------------------------------
Now that EOS_Omni is standard, we should convert all parameter files.
At the moment, these parameter files still reference EOS_Base:
EinsteinInitialData/TOVSolver/test/test_one_boost_max/test_one_boost_max.par
EinsteinInitialData/TOVSolver/test/test_one_static_max/test_one_static_max.par
EinsteinInitialData/TOVSolver/test/test_tov_carpet/test_tov_carpet.par
EinsteinInitialData/TOVSolver/test/test_two_av/test_two_av.par
EinsteinInitialData/TOVSolver/test/test_two_max/test_two_max.par
LSUDevelopment/Refluxing/par/GRHydro_Carpet_Shocktube_base_works_with_gitCarpet.par
The Refluxing parameter file is for reference only and should be remove
now that hg Carpet is the default.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/430>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#493: All checkpoint files used in test suite need to be regenerated to work with
development Carpet
--------------------+-------------------------------------------------------
Reporter: hinder | Owner: eschnett
Type: defect | Status: new
Priority: minor | Milestone:
Component: Carpet | Version:
Keywords: |
--------------------+-------------------------------------------------------
The current stable and development (git and mercurial) versions of Carpet
use incompatible checkpoint file formats. Neither can read the
checkpoints generated by the other
(http://lists.einsteintoolkit.org/pipermail/users/2011-August/001299.html).
The tests checkpointML, recoverML, CarpetWaveToyNewRecover_test_1proc and
CarpetWaveToyRecover_test_1proc need to have their checkpoint files
regenerated. At this point, it is likely that these tests will start to
fail for the stable version of Carpet, but making the stable version read
these files would be more effort than it is worth.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/493>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#492: Cannot add attachments to tickets "IOError: Client read error (Timeout?) "
----------------------------------+-----------------------------------------
Reporter: hinder | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: EinsteinToolkit trac | Version:
Keywords: |
----------------------------------+-----------------------------------------
This evening I am unable to add attachments to any tickets. After
selecting the attachment file, clicking on the button to actually upload
it leads to the error message below. This has happened before, but in
those cases the attachment was added successfully despite the error
message. In this case, no attachment appears. I have tried several
times, and none of them worked.
Mod_python error: "PythonHandler trac.web.modpython_frontend"
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py",
line 149, in handler
gateway.run(dispatch_request)
File "/usr/lib/python2.4/site-packages/trac/web/wsgi.py", line 89, in
run
response = application(self.environ, self._start_response)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 481, in
dispatch_request
return _dispatch_request(req, env, env_error)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 557, in
_dispatch_request
send_internal_error(env, req, sys.exc_info())
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 635, in
send_internal_error
description_en = get_description(lambda s, **kw: safefmt(s, kw))
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 631, in
get_description
req_args=pformat(req.args), sys_info=sys_info,
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 212, in
__getattr__
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 195, in
'args': lambda req: arg_list_to_args(req.arg_list),
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 212, in
__getattr__
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 560, in
_parse_arg_list
fs = cgi.FieldStorage(fp, environ=self.environ,
keep_blank_values=True)
File "/usr/lib64/python2.4/cgi.py", line 526, in __init__
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib64/python2.4/cgi.py", line 646, in read_multi
environ, keep_blank_values, strict_parsing)
File "/usr/lib64/python2.4/cgi.py", line 528, in __init__
self.read_single()
File "/usr/lib64/python2.4/cgi.py", line 661, in read_single
self.read_lines()
File "/usr/lib64/python2.4/cgi.py", line 683, in read_lines
self.read_lines_to_outerboundary()
File "/usr/lib64/python2.4/cgi.py", line 710, in
read_lines_to_outerboundary
line = self.fp.readline()
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py",
line 50, in readline
return self.req.readline(size)
IOError: Client read error (Timeout?)
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/492>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#533: Want graphical TRAC statistics
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner:
Type: enhancement | Status: new
Priority: optional | Milestone:
Component: Other | Version:
Keywords: |
-------------------------+--------------------------------------------------
It would be nice to have a few graphs on the TRAC front page showing some
statistics, e.g. number of important open tickets, mean time before a
ticket is closed, etc.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/533>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#358: FAQ entry
----------------------------+-----------------------------------------------
Reporter: knarf | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Cactus website | Version:
Keywords: |
----------------------------+-----------------------------------------------
For a new FAQ:
Q: I get errors like "/usr/include/H5Dpublic.h:145: error: too many
arguments to function ‘hid_t H5Dopen1(hid_t, const char*)’"
A: The HDF5 library you use is either version 1.6 or defaults to it. If it
is version 1.6.x, update to 1.8.x. If it is 1.8.x and it defaults to the
1.6 API version, you might be out of luck, especially on Debian Squeeze
systems, see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537414. What
you can then do is to remove (comment) out the macro H5_USE_16_API_DEFAULT
in /usr/include/H5pubconf.h. This isn't pretty, but is really a bug in the
package and has to be fixed there. There is no way to switch to the new
API on those systems, other than specifying the API version of each symbol
separately, which would be even messier.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/358>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#221: Simfactory should complain about unused arguments
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
When more arguments are given to simfactory that it uses, it should
complain with an error message.
For example, "sim stop sim1 sim2" stops simulation sim1 and ignores the
argument sim2. Instead, it should output an error message if the argument
sim2 is ignored.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/221>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit