Troubleshooting Grtensor and Maple 11 Installation

  • Context: Maple 
  • Thread starter Thread starter Pacopag
  • Start date Start date
  • Tags Tags
    Maple
Click For Summary
SUMMARY

This discussion focuses on troubleshooting the installation and usage of GRTensor II with Maple 11 and Mathematica 8.0 on various operating systems, including Fedora 7 and Ubuntu 11.10. Users encountered issues defining new tensors and loading metrics, specifically syntax errors related to the use of quotes and the inability to read metric files. The resolution involved correcting the use of back quotes in tensor definitions and ensuring proper installation paths for metric directories.

PREREQUISITES
  • Familiarity with GRTensor II and its functionalities
  • Basic understanding of Maple 11 syntax and commands
  • Knowledge of Mathematica 8.0 and its package management
  • Experience with Linux operating systems, specifically Fedora and Ubuntu
NEXT STEPS
  • Review the GRTensor II documentation, particularly Section 5 on defining new tensors
  • Learn about Maple 11's syntax rules, especially regarding quotes and tensor definitions
  • Investigate the proper installation and configuration of GRTensor II in Mathematica 8.0
  • Explore troubleshooting techniques for loading metrics in both Maple and Mathematica environments
USEFUL FOR

Physics students, researchers using GRTensor II, and developers working with Maple and Mathematica for tensor calculations will benefit from this discussion.

Pacopag
Messages
193
Reaction score
4
Hello everyone;
This is my first time in the physics forums, or any forum for that matter, so please accept my apologies if I am posting this in the wrong place.

I have just installed grtensorII into Maple 11. I am running it on Fedora 7. The install seems to have worked, although I did have to tweak some of the commands (compared to those in the install guide, which I guess was written for windows users) in order to get it to work. I can load the libraries, and I can load most of the pre-defined objects (e.g. Schwarzschild geometry, Ricci tensor, Christoffel, etc). My problem arises when I try to define new tensors. Even if I enter examples straight from the manual exactly as they are written, it spits out errors at me. Here's an example:
grdef ( 'u{a} := [0,f(r),0,g(r)]' ):
Here I am just trying to define a covariant vector, where the functions f(r) and g(r) are specified, but this just doesn't work. I am getting the syntax from Document D: Defining new Tensors, Section 5, Number 9, from the documentation that comes with GRtensor II.
There also seems to be a problem when I try to define a tensor with contravariant indices because the 'carat' character causes maple to think that I want to enter an exponent. If I override this with \^, it gives me an "invalid power" error.

Any help?
 
Physics news on Phys.org
after hours of banging my head, I got it working. I was using forward quotes instead of back quotes around the assignment statement. Silly.

Cheers.
 
May I ask how did you teach Maple loading your metrics? I had a hard time to do that in OS X and still can't get any output from qload(mink) for instance.
 
@smirshekari: Is your GrTensorII installed correctly? If so, it should see the metric directory by itself. And of course, before

qload(mink)

do you call grtensorii by

grtw()

and while installing grtensorii, have you copied maple.ini to the maple directory?
 
Thank you. It is woking now, but I don't know how where are my metrics? :( Any preferred address to look up in?
 
hello,
i am ashmita. i am using as operating system ubuntu11.10
and i have installed mathematica version 8.0. i am trying to add grtensor
package to mathematica. as per the instruction i have moved the
grii/directory to packages directory of mathematica then i have written
the command <<grii/grt.m to the mathematica notebook page and it is
displaying:

GRTensorM Version 1.2 for Mathematica 3.x
July 20, 1998
Copyright 1996-98 by P. Musgrave, D. Pollney and K. Lake
Update by Mustapha Ishak B.
Use qload[] or grload[] to load a metric.
?grtensor for help.
Metric directory = "/group/local/math/Packages/grii/metrics/"

.but then whenever i am writing suppose qload[schw] it is displaying:

Failed to read /group/local/math/Packages/grii/metrics/schw.g
$Aborted

I don't understand why this problem is occurring. I will be highly obliged
if you can give me any advise to resolve this issue completely.
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
Replies
3
Views
3K
  • · Replies 38 ·
2
Replies
38
Views
6K