Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the problem of running mt -imager #11

Open
xiaoluo1314 opened this issue May 27, 2014 · 11 comments
Open

the problem of running mt -imager #11

xiaoluo1314 opened this issue May 27, 2014 · 11 comments

Comments

@xiaoluo1314
Copy link

I have some problems about SKA /mt-imager for you. i know this is your master's program. so , i appreciate you can write a good program. i want to use your program,but the running is wrong.
The error as shown in the below:
./mt-imager
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371) Requested data table Observatories cannot be found in the searched directories:
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/
2014-05-26 18:14:37 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories
terminate called after throwing an instance of 'casa::AipsError'
what(): 2014-05-26 18:14:37 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories
Aborted (core dumped)

@twillis449
Copy link

You need to tell the system where your CASA data files are located. You
can do this by creating a .casarc file in your home directory and
specifying the location of the measures directory in the file. I have

[NRC-005592LX 6:56pm] [twillis]> cat .casarc
measures.directory: $HOME/casa/data

[NRC-005592LX 6:56pm] [twillis]> ls -lt casa
lrwxrwxrwx 1 twillis twillis 27 Feb 6 12:35 casa ->
casapy-42.0.28322-021-1-64b/

[NRC-005592LX 6:56pm] [twillis]> cd casa/data
/home/twillis/casa/data

[NRC-005592LX 6:56pm] [data]> ls -lt
total 32
-rw-rw-r-- 1 twillis twillis 152 Jan 30 09:35 version
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:35 catalogs/
drwxrwxr-x 11 twillis twillis 4096 Jan 30 09:35 ephemerides/
drwxrwxr-x 8 twillis twillis 4096 Jan 30 09:33 alma/
drwxrwxr-x 5 twillis twillis 4096 Jan 30 09:32 demo/
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:32 gui/
drwxrwxr-x 12 twillis twillis 4096 Jan 30 09:32 geodetic/
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:31 nrao/

The data directory will be supplied as part of the CASA package
available rom NRAO.

Cheers

Tony

On 14-05-26 06:07 PM, xiaoluo1314 wrote:

I have some problems about SKA /mt-imager for you. i know this is your
master's program. so , i appreciate you can write a good program. i
want to use your program,but the running is wrong.
The error as shown in the below:
./mt-imager
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)
Requested data table Observatories cannot be found in the searched
directories:
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-26 18:14:37 SEVERE MeasTable::initObservatories() (file
/root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot
read table of Observatories
terminate called after throwing an instance of 'casa::AipsError'
what(): 2014-05-26 18:14:37 SEVERE MeasTable::initObservatories()
(file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111)
Cannot read table of Observatories
Aborted (core dumped)


Reply to this email directly or view it on GitHub
#11.

@xiaoluo1314
Copy link
Author

Got it.But I have some questions about this,my settings are as follows:
1.[root@astronomy Desktop]# ls -a
. .. .casarc CUDAWP engine.csv Gridding.csv performance.csv
[root@astronomy Desktop]# cat .casarc
measures.directory:/opt/data
2.[root@astronomy data]# ls -l
total 36
drwxrwxr-x. 8 root root 4096 May 27 17:36 alma
drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs
drwxrwxr-x. 5 root root 4096 May 27 17:36 demo
drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides
drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic
drwxrwxr-x. 4 root root 4096 May 27 17:36 gui
drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao
-rw-r--r--. 1 root root 152 May 27 17:36 version
3.[root@astronomy bin]# ./mt-imager
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371) Requested data table Observatories cannot be found in the searched directories:
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/aips++/data//geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /root/data//geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file /root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ /usr/local/geodetic/
2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories
terminate called after throwing an instance of 'casa::AipsError'
what(): 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read table of Observatories
Aborted (core dumped)

@ddmusc
Copy link
Contributor

ddmusc commented May 27, 2014

Your .casarc should be in your home directory (\root) and not in the
Desktop directory. Note that you could have also configured the this
directory during compilation of Casacore

Regards
Daniel Muscat

On 27 Mej 2014, at 07:19, xiaoluo1314 notifications@github.com wrote:

Got it.But I have some questions about this,my settings are as follows:
1.[root@astronomy Desktop]# ls -a
. .. .casarc CUDAWP engine.csv Gridding.csv performance.csv
[root@astronomy Desktop]# cat .casarc
measures.directory:/opt/data
2.[root@astronomy data]# ls -l
total 36
drwxrwxr-x. 8 root root 4096 May 27 17:36 alma
drwxrwxr-x. 4 root root 4096 May 27 17:36 catalogs
drwxrwxr-x. 5 root root 4096 May 27 17:36 demo
drwxrwxr-x. 11 root root 4096 May 27 17:36 ephemerides
drwxrwxr-x. 12 root root 4096 May 27 17:36 geodetic
drwxrwxr-x. 4 root root 4096 May 27 17:36 gui
drwxrwxr-x. 4 root root 4096 May 27 17:36 nrao
-rw-r--r--. 1 root root 152 May 27 17:36 version
3.[root@astronomy bin]# ./mt-imager
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371) Requested
data table Observatories cannot be found in the searched directories:
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-27 12:42:45 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file
/root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read
table of Observatories
terminate called after throwing an instance of 'casa::AipsError'
what(): 2014-05-27 12:42:45 SEVERE MeasTable::initObservatories() (file
/root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot read
table of Observatories
Aborted (core dumped)

At 2014-05-27 10:01:02,twillis449 notifications@github.com wrote:
You need to tell the system where your CASA data files are located. You
can do this by creating a .casarc file in your home directory and
specifying the location of the measures directory in the file. I have

[NRC-005592LX 6:56pm] [twillis]> cat .casarc
measures.directory: $HOME/casa/data

[NRC-005592LX 6:56pm] [twillis]> ls -lt casa
lrwxrwxrwx 1 twillis twillis 27 Feb 6 12:35 casa ->
casapy-42.0.28322-021-1-64b/

[NRC-005592LX 6:56pm] [twillis]> cd casa/data
/home/twillis/casa/data

[NRC-005592LX 6:56pm] [data]> ls -lt
total 32
-rw-rw-r-- 1 twillis twillis 152 Jan 30 09:35 version
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:35 catalogs/
drwxrwxr-x 11 twillis twillis 4096 Jan 30 09:35 ephemerides/
drwxrwxr-x 8 twillis twillis 4096 Jan 30 09:33 alma/
drwxrwxr-x 5 twillis twillis 4096 Jan 30 09:32 demo/
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:32 gui/
drwxrwxr-x 12 twillis twillis 4096 Jan 30 09:32 geodetic/
drwxrwxr-x 4 twillis twillis 4096 Jan 30 09:31 nrao/

The data directory will be supplied as part of the CASA package
available rom NRAO.

Cheers

Tony

On 14-05-26 06:07 PM, xiaoluo1314 wrote:

I have some problems about SKA /mt-imager for you. i know this is your
master's program. so , i appreciate you can write a good program. i
want to use your program,but the running is wrong.
The error as shown in the below:
./mt-imager
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)
Requested data table Observatories cannot be found in the searched
directories:
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+ ./data/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/ephemerides/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/aips++/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/root/data//geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-26 18:14:37 WARN MeasIERS::findTab (file
/root/casacore-1.5.0/measures/Measures/MeasIERS.cc, line 371)+
/usr/local/geodetic/
2014-05-26 18:14:37 SEVERE MeasTable::initObservatories() (file
/root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111) Cannot
read table of Observatories
terminate called after throwing an instance of 'casa::AipsError'
what(): 2014-05-26 18:14:37 SEVERE MeasTable::initObservatories()
(file /root/casacore-1.5.0/measures/Measures/MeasTable.cc, line 4111)
Cannot read table of Observatories
Aborted (core dumped)


Reply to this email directly or view it on GitHub
#11.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/11#issuecomment-44236772
.

@xiaoluo1314
Copy link
Author

Thanks.But where to configured the this directory during my compilation of Casacore.

@twillis449
Copy link

I don't think that you can. See the bottom part of

https://code.google.com/p/casacore/wiki/BuildInstructions

and also look at

https://code.google.com/p/casacore/wiki/CasaAipsRC

for discussion of how the system finds the directories etc.

Tony

On 14-05-27 06:57 PM, xiaoluo1314 wrote:

Thanks.But where to configured the this directory during my
compilation of Casacore.


Reply to this email directly or view it on GitHub
#11 (comment).

@ddmusc
Copy link
Contributor

ddmusc commented May 28, 2014

There is a parameter to be set during cmake phase but can't remember off
hand.. Will check when in office.

Regards
Daniel Muscat

On 28 Mej 2014, at 03:57, xiaoluo1314 notifications@github.com wrote:

Thanks.But where to configured the this directory during my compilation of
Casacore.


Reply to this email directly or view it on
GitHubhttps://github.com//issues/11#issuecomment-44357108
.

@xiaoluo1314
Copy link
Author

thank you very much, See the bottom part of

https://code.google.com/p/casacore/wiki/BuildInstructions
When I was in casacore, is in the installation.
my .casarc in my home directory (\root)
[root@astronomy ~]# ls -a .casarc
.casarc
[root@astronomy ~]# pwd
/root
But still won't do.
Is there a parameter to be set during cmake phase?Can you check for me what parameters, and then tell me.Thanks.

@twillis449
Copy link

I've compiled casacore a fell hundred times and I've never comfigured
the location of this directory during the compilation state. I think
that if this was something you were supposed to do then it would be
mentioned somewhere in the build instructions.

On 14-05-27 06:57 PM, xiaoluo1314 wrote:

Thanks.But where to configured the this directory during my
compilation of Casacore.


Reply to this email directly or view it on GitHub
#11 (comment).

@ddmusc
Copy link
Contributor

ddmusc commented May 28, 2014

Hi all
Please refer to http://code.google.com/p/casacore/wiki/CmakeInstructions.
The cmake variable DATA_DIR will configure the search paths being discussed
during installation phase.

ex cmake -DDATA_DIR=/opt/data .. will do the trick

If you wish you might also opt as to install the required files in the
directories he is searching which are included in the error

Regards
Daniel

On Wed, May 28, 2014 at 3:29 PM, twillis449 notifications@github.comwrote:

I've compiled casacore a fell hundred times and I've never comfigured
the location of this directory during the compilation state. I think
that if this was something you were supposed to do then it would be
mentioned somewhere in the build instructions.

On 14-05-27 06:57 PM, xiaoluo1314 wrote:

Thanks.But where to configured the this directory during my
compilation of Casacore.


Reply to this email directly or view it on GitHub
#11 (comment).


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-44405978
.

@xiaoluo1314
Copy link
Author

hi ,twillis449
Can I take the liberty to your mailbox?
thanks!

@twillis449
Copy link

I'm not sure about exactly what you are trying to say, but if you want my e-mail addresst it is tony.willis@nrc-cnrc.gc.ca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants