Project

General

Profile

Feature #496

Updated directory structure

Added by Rogers, Chris over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code Management
Target version:
Start date:
01 June 2011
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

Proposed update to the MAUS directory structure:

src/common_cpp
src/common_py
common -> src/legacy

tests/cpp_unit
tests/py_unit

Update wiki


Related issues

Related to MAUS - Feature #418: Convert file endings to cc hhClosedRogers, Chris21 April 2011

Actions
#1

Updated by Rogers, Chris over 12 years ago

Also need to update README

#2

Updated by Rogers, Chris over 12 years ago

Also - move most of tests/integration/optics to src/legacy/Optics

#3

Updated by Rogers, Chris over 12 years ago

Status - done everything but execution of all cpp code fails with mysterious segmentation fault

 *** Break *** segmentation violation
#0  0x00007f684a144efe in waitpid () from /lib64/libc.so.6
#1  0x00007f684a0e2101 in ?? () from /lib64/libc.so.6
#2  0x00007f685f3eff17 in TUnixSystem::StackTrace() ()
   from /home/cr67/G4MICE/MAUS/maus_rogers/third_party/build/root_v5.28.00a/lib/libCore.so
#3  0x0000000000000000 in ?? ()

humm... will look in the morning.

Nb: segv appears when I try to execute any code linked to libsimulation.so

#4

Updated by Tunnell, Christopher over 12 years ago

Is this your merge with the trunk? I changed the ROOT version from patch version a to patch version d (to be able to use Ubuntu) so reinstall that then do a clean install?

#5

Updated by Rogers, Chris over 12 years ago

I didn't do a clean install of root, but I linked against root 5.28.00a (which is whatever I had in existence). Does that really make a difference? I am surprised, though I don't know what the bug is.

#6

Updated by Rogers, Chris over 12 years ago

Humm, not the root version...

#7

Updated by Tunnell, Christopher over 12 years ago

do you get the same thing when running:

root

at the command line?

#8

Updated by Rogers, Chris over 12 years ago

I moved the legacy optics stuff to the legacy area and there's some lurking nastiness... I found a statically defined exception that seems to have done some nastiness, still looking at it.

#9

Updated by Rogers, Chris over 12 years ago

Okay, figured it out. There was a statically defined Squeal that was doing some nastiness - worried some potential bug to do with initialisation of the iostream stuff in Squeal/Squeak... but will have to look at it another time.

While I was debugging I removed the extern datacards and extern simevent - so it is no longer necessary to define simEvent, MyDataCards to link against MausCpp (hurray).

Hopefully just tidying up now

#10

Updated by Tunnell, Christopher over 12 years ago

Let me know when this completes so I can rerun coverity.

#11

Updated by Rogers, Chris over 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Passes on maus_per_commit r535

#12

Updated by Rogers, Chris over 12 years ago

  • Target version changed from Future MAUS release to MAUS-v0.0.3

Also available in: Atom PDF