Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ensembl-gh-mirror
zmap
Commits
2357ecc7
Commit
2357ecc7
authored
14 years ago
by
mh17
Browse files
Options
Downloads
Patches
Plain Diff
new file from old developer dir
parent
fc7be60b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/Design_notes/build/debugging.html
+163
-0
163 additions, 0 deletions
doc/Design_notes/build/debugging.html
with
163 additions
and
0 deletions
doc/Design_notes/build/debugging.html
0 → 100644
+
163
−
0
View file @
2357ecc7
<!-- $Id: debugging.html,v 1.1 2010-04-20 14:00:13 mh17 Exp $ -->
<style>
pre
{
width
:
95%
;
background-color
:
#DDDDDD
;
border-style
:
solid
;
border-width
:
1px
;
padding
:
10px
}
.example
{
border-color
:
#000000
}
</style>
<h2>
Debugging ZMap
</h2>
<fieldset><legend>
Building ZMap
</legend>
<p>
As follows (assumes you are using the C shell on a linux machine):
</p>
<pre>
>
setenv CVSROOT :ext:cvs.internal.sanger.ac.uk:/repos/cvs/zmap
>
cd
<
directory where you want to checkout zmap
>
>
cvs checkout ZMap
>
cd ZMap/src
>
./runbootstrap
>
cd build/linux
>
../../runconfig
>
make
>
./zmap --version
</pre>
</fieldset>
<fieldset><legend>
Debugging a ZMap problem reported by Havana
</legend>
<h3>
1: take a copy of their database
</h3>
<p>
Ask the user to keep their lace session open while you take a copy of
their database and
ask them for their deskpro machine id (e.g. deskpro16113) and the path
to their session (e.g. /var/tmp/laceXXXXXX).
</p>
<pre>
>
ssh deskproNNNNN
>
cp -r /var/tmp/laceXXXXX /your/copy
</pre>
<h3>
2: Edit acedb files
</h3>
<p>
Now make the following series of alterations to files in the wspec subdirectory:
</p>
<pre>
Edit wspec/passwd.wrm, replace the userids there with your own.
Edit wspec/serverconfig.wrm and replace "READ PASSWD" with "READ WORLD"
</pre>
<h3>
3: Edit ZMap files
</h3>
<p>
Copy the file ZMap/ZMap into your .ZMap directory giving it
a name something like ZMap.bug_name and make the following alterations:
</p>
<p>
In the [ZMap] stanza the "sources" keyword gives the name of the reference
sequence, make a note of it and:
</p>
<pre>
default-sequence = reference sequence name
comment out show-mainwindow:
#show-mainwindow = false
</pre>
<p>
In the stanza with the reference sequence name change
the "url" keyword:
</p>
<pre>
from something like this:
url = acedb://localServer:password@localhost:56879
to this:
url = acedb://any:any@MACHINE:PORT
</pre>
<p>
MACHINE and PORT need to match the machine and port
where you run the ace server (see next section).
</p>
<p>
When you want to run zmap you should copy this file so that zmap
will find it automatically when it starts up:
</p>
<pre>
>
cp ~/.ZMap/ZMap.bug_name ~/.ZMap/ZMap
</pre>
<h3>
4: Start the acedb server
</h3>
<p>
Start the acedb server on your or any other machine on the Sanger network:
</p>
<pre>
for deskpros
>
~acedb/RELEASE.DEVELOPMENT/bin.LINUX_4/sgifaceserver /your/copy PORT 0:0
for the 64 bit cbi4 linux machines, e.g. cbi4g
>
~acedb/RELEASE.DEVELOPMENT/bin.LINUX_64/sgifaceserver /your/copy PORT 0:0
where PORT is a number somewhere between 20000 an 50000
</pre>
<h3>
5: Start zmap
</h3>
<p>
Now you should be able to run zmap:
</p>
<pre>
./zmap
</pre>
</fieldset>
This diff is collapsed.
Click to expand it.
Preview
0%
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