summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation
diff options
context:
space:
mode:
authorrahul2019-10-03 12:27:52 +0530
committerrahul2019-10-03 12:27:52 +0530
commit88fa6ccdda6bb52f18040c27dd6c777a6769ed9e (patch)
tree6f079878b921c517402c296890b37ee75e2c5d0d /src/ngspiceSimulation
parent238fc9fa6b48cb9263f832c00f6bb19d4021682f (diff)
downloadeSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.tar.gz
eSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.tar.bz2
eSim-88fa6ccdda6bb52f18040c27dd6c777a6769ed9e.zip
multiple sockets files(>1024) for linux only
Diffstat (limited to 'src/ngspiceSimulation')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py2
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.pycbin1665 -> 1681 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index 310cbe3c..bde95899 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -18,7 +18,7 @@ class NgspiceWidget(QtGui.QWidget):
print "Argument to ngspice command : ",command
if platform.system() == 'Linux':
- self.command = "cd "+projPath+";ngspice "+command
+ self.command = "ulimit -S -n 16384;cd "+projPath+";ngspice "+command
#Creating argument for process
#self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command]
self.args = ['-hold','-e', self.command]
diff --git a/src/ngspiceSimulation/NgspiceWidget.pyc b/src/ngspiceSimulation/NgspiceWidget.pyc
index 45245b0b..e0ad5978 100644
--- a/src/ngspiceSimulation/NgspiceWidget.pyc
+++ b/src/ngspiceSimulation/NgspiceWidget.pyc
Binary files differ