Items tagged with kernel kernel Tagged Items Feed

While I am working with a problem , suddenly the message 'Kernel connection lost' appeared. After that I restarted maple and then I opened my work sheet again , but I lost all my equations and data in the work sheet. I dont know why? All my work is total empty. 

How can I recover the work sheet data? Solutions are appreciated.

I have attached the lost work sheet for your reference. 

 

Thanking you.

 

 

Hello,

I'm trying to calculate and export a huge "Strategy-Matrix". The calculation works in a smaller version with less possible strategies. For this version I use a specialised simulation-PC with enough memory (that was my problem using my own PC). But now I've got this error massage ("Kernel connection has been lost. You should save this worksheet and restart Maple. Executing commands in Maple requires a connection to the Maple kernel. Firewalls have been known to cause problems with kernel connections in Maple. Please ensure that any firewall software is configured to allow Maple to create connections to the kernel. Consult the FAQ for more information.")

The firewall should not be the problem. Below the code. num_Strat is 63001. 

Thank you in advance for your help.

 

m_Gi:= Matrix(num_Strat, num_Strat):

for t from 1 by 1 to num_Strat
do
Digits:= 5:
v_h2:= evalf((-(24/17)* v_pEi[t]^2)*v_h1 + (v_pEi[t]*(-(128/51)*v_pKi[t]+980/51))*v_h1+ v_pEi[t]*((40/51)*v_pKj+(15/17)*v_pEj)-((110/51)*v_pKi[t]^2)*v_h1 + v_pKi[t]*((55/51)*v_pKj+1220/51*v_h1+(10/17)*v_pEj)):
m_Gi(..,t):= v_h2:
end do:
ExportMatrix(TestMatrixNK, m_Gi):

I am working with a package that is not entirely stable and which can sometimes corrupt Maple's state. I would like to "sandbox" the risky operations, executing each of them in another kernel thread that I can destroy (or somehow reset), getting back just the return result of each operation (each return result involves only global names, numbers, and strings). What would be a good way to achieve this?

I see the Task model, but it is not clear to me that each kernel used is effectively restart()'d for each Task Start(). At the moment I would have a bit more confidence in manually using Thread Create(), except that I do not see any information on how to destroy a thread (just to destroy Mutex and Condition Variable resources.)

This is, I suppose, a kind of security, but it is not covered by EngineSecurity. (Not unless I need to process[popen] to achieve this.)

I was calculating average BER for BPSK and while its execution encountered kernel failure with an error message as "execution stopped:stack limit reached.worksheet lost connection to kernel.you should save worksheet and restart maple."

how to overcome this error. Any help?

Hi,

I have an error how can I fix the error. Thank you.

Matrix_Fred:=proc(N,d,lambda)
local Kernel,K,Fredholm,phi,MatA,eq2,eq3,eq4,Vct_basis,fct,sys,M,b,M1,Vect_beta,W,i,beta,alpha,eq5,eq6,x,Subs1,Fredholm_stencil,Stencil,w,V,sys1,sys2,Subs2,sys3,Sol_phi;
Fredholm:=phi(x)=f(x)+lambda*int(Kernel(x,y)*phi(y),y=-a..a);
Kernel:=(x,y)->ln(abs(x-y));
eq2:=int(Kernel(x,y)*phi(y),y=-a..a)=sum(int(Kernel(x,y)*phi(y),y=n*h..(n+d)*h),n=-N..N-d);
eq3:=phi->int(Kernel(x,y)*phi(y),y=n*h..(n+d)*h)=add(beta[i,n]*phi((n+i-1)*h),i=1..d+1);
eq4:=int(Kernel(x,y)*phi(y),y=n*h..(n+d)*h)=add(alpha[m,n,i]*phi((n+i-1)*h),i=1..d+1);
Vct_basis:=[seq(x^i,i=0..d+1)];
fct:=[seq(unapply('Vct_basis[i]','x'),i=1..d+2)];
sys:=[seq(eq3(fct[i]),i=1..d+1)];
w := [seq(beta[i,n],i=1..d+1)];
M,b := GenerateMatrix(sys,w);
M1:=-M; V:=-b;
Vect_beta:=(M1)^(-1).V;
for i from 1 to d+1 do
beta[i,n]:=Vect_beta[i];  
end do;
x:=m*h;
for i from 1 to d+1 do
alpha[m,n,i]:=unapply(beta[i,n],n,m);
end do;
eq5:=lhs(eq2)=sum(rhs(eq4), n=-N..N-d);
eq6:=subs(x=m*h,subs(lhs(eq5)=rhs(eq5) ,Fredholm)):
Subs1 :=[seq(phi(m*h)=phi[m], m=-N..N)];
Fredholm_stencil:=subs(Subs1,eq6):
Stencil[1] := unapply(Fredholm_stencil,m,lambda,phi,f);
sys1 := [seq(Stencil[1](m,lambda,phi,f),m=-N..N)]:
sys2:=subs(Subs1,sys1):
Subs2:=[seq(f(m*h)=f[m], m=-N..N)]:
sys3:=subs(Subs2,sys2):
Sol_phi := [seq(phi[i],i=-N..N)]; # The unknown vector must be computed.
MatA := GenerateMatrix(convert(sys3,list),Sol_phi)[1];
return MatA;
end proc:




d:=1; N:=2; lambda:=3/Pi;
Matrix_Fred(N,d,lambda);
                                      1
                                      2
                                     3
                                     --
                                     Pi
Error, (in rtable/Power) singular matrix

Hi,

I want to compute a formula which is too complicated and it contains some variables. So I divide it into several parts. But it always turns out kernel connection has been lost. I looked maplesoft online help system and change the ConnectionType from 0 to 2. But it does not work. So how does this happen and how to solve?

I attach my maple file which appears error.
Thanks a lot!

Regards,

Yan

Hi,

I have a Matrix whose entries are polynomials in several formal parameters (the matrix is sparse and the polynomials are rather simple, though inverses of the parameters may also arise).
Then, when I compute the kernel with LinearAlgebra-NullSpace, maple naturally gives a basis of solutions over the same ring of polynomials.

Now for some reason there are some parameters that I don't want to see in the solutions (all but two of them, actually).

How can I compute the part of the kernel that lives in $\mathbb{Z}[a,a^{-1}, b,b^{-1}]$, i.e. that involves only the first two parameters?

Thank you,

NoThik

Edit : the coefficients of the polynomials are integers, and I expect the kernel elements to have integer coefficients as well.

I am having trouble getting a certain Maple worksheet to execute.  Using both Maple17 (I think it is 17.02) installed on two separate PC's at home (XP), and using Maple15 via Citrix from a server maintained by my employer, I get a long error message.  It starts:    "Kernel connection has been lost.  You should save this worksheet and restart Maple.  Executing commands in Maple requires a connection to the Maple kernel.  Firewalls have been known to cause problems with kernel connections in Maple.".  If anyone wants, I can add the entire error message to this question. I don't think I actually have a firewall at home, and this error message doesn't seem to explain why my local copy of Maple is having trouble.

I think I updated my home copy of Maple to Maple 17.02 after I started writing the worksheet and before this problem appeared, so there may be an issue with Maple 17.02.  But this would not seem to explain the trouble I have executing the worksheet using Maple15 via Citrix.

I have uploaded the file.  I removed the output to make it a reasonable length.  I created a "toy" file that plots x^2 from x = 1 to x = 4, and does nothing else, and it works just fine.  I apologize for the length of the file I uploaded, but I don't know exactly what is causing  the error.

NewPicture.mw

 

GS

 

Hi,

I have always been experiencing problems using a university server. It runs Red Hat 6.4 (Santiago) and Maple 17 X64.

The problem never occurs on Windows 7 SP1 X64 with Maple 17 X64.

Only reason I want to use the university machines is that it's "faster".

I had raised...

In the following code, why is B returned unevaluated?

restart:
A:= a:  B:= 2:
F:= _a-> eval(`if`(A,B,C), a= _a):
F(true);
                               B
eval(B);
                   ...

hi guys,i have a program when i run it after 3or4 minutes maple give this :

execution stopped:memory allocation failed.please see ?alloc for more detail.

when i ok it then give this :

the kernel has been shut down.further computations cannot be performed.

 

what do you think ?

 

 

thank you very much

What are the main functions of the kernel Male and for which they are responsible?

Hi all,

I am running xmaple via linux, version 17.

This is on a Unbuntu OS X64 with i7 940X, and 4G RAM.

 

Casper

My query has spawned two new questions.

1) Why won't this work?

  First embed and Text area component TextArea0
  SetProperty(TextArea0,'value',showstat(SetProperty))

  I thought the contents of the procedure would be entered into TextArea0.


2) While code is being evaluated in Maple, is it possible to continue working within the same kernel?  or must one have to be in a separate Maple (kernel) window?

http://www.mapleprimes.com/questions/144384-Polynomials-Not-In-The-Correct-Indeterminates

above link's comment said eliminate will NOT generate a polynomial in all cases

make me think that eliminate in above link can not return correct one.

what is the correct way to convert groebner basis of kernel into kernel?

1 2 3 Page 1 of 3