Here is the lsf file I tried to run on both machines. I have checked everything as you have instructed but still no solution.
clear;
clc;
deleteall;
#save("D:\Device with Script\Neff Generation\Index curve Generation.fsp");
new_material = copymaterial("Si (Silicon) - Palik");
setmaterial(new_material,"imaginary weight", 10);
setmaterial(new_material,"tolerance", 0);
addfde;
set("solver type",1);
set("x", 2e-6);
set("y", 0);
set("y span", 3e-6);
set("z", 0.11e-6);
set("z span", 3.3e-6);
set("define y mesh by", "maximum mesh step");
set("define z mesh by", "maximum mesh step");
set("dy", 0.01e-6);
set("dz", 0.01e-6);
set("fit materials with multi-coefficient model", true);
set("wavelength start", 1.53e-6);
set("wavelength stop", 1.565e-6);
addrect;
set("name","Cladding");
set("x min", 0e-6);
set("x max", 3e-6);
set("y min", -3e-6);
set("y max", 3e-6);
set("z min", -2e-6);
set("z max", 2e-6);
set("material","SiO2 (Glass) - Palik");
set("alpha", 0.2);
set("override mesh order from material database", true);
set("Mesh order",5);
addrect;
set("name","Waveguide");
set("x min", 0e-6);
set("x max", 3e-6);
set("y", 0);
set("y span", 0.7e-6);
set("z min", 0);
set("z max", 0.22e-6);
set("material","Si (Silicon) - Palik Copy 1");
setanalysis("wavelength", 1.53e-6);
setanalysis("stop wavelength", 1.565e-6);
setanalysis("number of points", 36);
setanalysis("number of test modes", 5);
findmodes;
selectmode(1:2);
setanalysis("track selected mode",1);
setanalysis("detailed dispersion calculation",1);
frequencysweep;
n=getdata("frequencysweep","neff");
f=getdata("frequencysweep","f_D");
plot(c/f*1e9,n,"Wavelength (nm)", "Effective index (neff)");