K4ys4r / BoltzGnu

BoltzGnu Contains Gnuplot Scripts which allow to plot BoltzTraP Output Data
17 stars 16 forks source link

Error while running Run_test #1

Open kamarajphy89 opened 5 years ago

kamarajphy89 commented 5 years ago

Dear Dr. Hilal Balout,

I am facing following issues while running example files ...

[kamaraj@localhost BoltzGnu-master]$ sh Run_test

This folder contains several Gnuplot Scripts. 1 - pTRACE_E.gp ----> To plot Transport proporties as a function of energy at define Temperature 2 - pTRACE_E_multT.gp ----> To plot Transport proporties as a function of energy at different define Temperatures 3 - pTRACE_N.gp ----> To plot Transport proporties as a function of Carrier Concentration at define Temperature 4 - pDOPING_T.gp ----> To plot Transport proporties as a function of Temperature at define [n] Gnuplot Version > 5.0 is required
The Scripts are used to plot BoltzTraP Data Output (i.e *trace files and doping) In this Folder you can find two exemple files File.trace & Doping.data

Choice a Number 1

An exemple will show you how to use pTRACE_E.gp Using pTRACE_E.gp With command line: " gnuplot -c pTRACE_E.gp 300 0.4 0.1 File.trace " Input File : File.trace Fermi Level : 0.4 Ry dE (around Fermi Level) : 0.1 Ry Temperature : 300 K Gnuplot in Progress...

================================================= File name : File.trace Temperature : 300.0 Fermi Energy : 0.4 Plot Interval : [-0.1 : 0.1]

set term pdf enhanced color font "Times,6" size 3,3.5 ^ "pTRACE_E.gp" line 56: unknown or ambiguous terminal type; type just 'set terminal' for a list.

Can you help me in solving this issue?

Thank you

K4ys4r commented 5 years ago

This error is due to the Gnuplot output terminal. Actually, Gnuplot has a lot outputs terminal. In your case, Gnuplot pdf terminal has been not installed. To fixe this error you must install Gnuplot --with-pdf. below you can find more informations to install pdf lib: with brew with apt-get

kamarajphy89 commented 5 years ago

Hi,

Thank you.. its working now..