Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

Chemkin start error unable to find ckjni.dll

    • lyip6
      Subscriber

      Hello,


      I installed Ansys 2020.1.  i'm getting an error message when I start ChemKin.  Error message says can not find ckjni.dll on the computer.


      I verified that the file is there.  I even reinstalled Ansys.


      Please help. 


      Thank you


       


       

    • Karthik Remella
      Administrator

      Could you please share the screenshot using the 'Insert Image' option? Ansys employees cannot download attachments on this website.


      Thanks.


      Karthik

    • lyip6
      Subscriber

      Hello Karthik,


       


      Here is the image again.


       


    • tsiriaks
      Ansys Employee

      Open CMD Prompt and enter the following commands


      set PATH=C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem


      "C:Program FilesANSYS Incv201reactionchemkinpro.win64binrun_Chemkin.bat" Pro


      does this work ?


      If not, enter the command


      set


      and post the output of it here.


      Also, do you have an install.err file under C:Program FilesANSYS Inc   ?


      Thanks,


      Win

    • lyip6
      Subscriber

      tsiriaks,


       


      Thank you for your response.  Unfortunately, that did not work. Here are the files


       


       


       

    • tsiriaks
      Ansys Employee

      Could you post the file content inline ? ANSYS employees are not allowed to download attachment


      Thank you.

    • lyip6
      Subscriber

      tsiriaks,


       


      The file is long so I took screenshots of it.  

    • tsiriaks
      Ansys Employee

      I've never seen most of these Chemkin/Reaction related environment variables. Did you or your IT manually create them ?


      I think we should try to remove them but you may want to back it up first.


      Please also post the content of your install.err file

    • lyip6
      Subscriber

      tsiriaks,


       


      Here is the content of install.err


       


      ANSYS installation: Wed Jul 8 03:03:25 2020


       


      Revision: 2020 R1


       


       


       


         ###### Error #######


       


         Switch Unknown: Ignoring switch "-disablerss"


       


      >>>


      >


       


      We didn't add those environment variables for Chemkin/Reaction.


      I'll try to remove them.


       

    • lyip6
      Subscriber

      Which variable do you want me to delete?

    • tsiriaks
      Ansys Employee

      Basically everything that has the term 'chemkin' or 'reaction' whether in the name or value, just remove them.


      What was the installation package name that you used to install Chemkin ? My machine doesn't have any of these set and it can be launched fine.

    • lyip6
      Subscriber

      I used the Ansys 2021 R1 installation media to install this.

    • tsiriaks
      Ansys Employee

      The ISO images ? what's the exact file name ?

    • lyip6
      Subscriber

      it is setup.exe


       


       

    • lyip6
      Subscriber

      tsiriaks,


       


      I installed the Ansys suite and a clean computer.  It is working.  However, on this particular computer it is not working.  I even tried to reinstall Ansys 2020 R1 Suite.


       


      Thank you for your help

    • tsiriaks
      Ansys Employee

      Can you check/post the environment variables of another machine that's working ?

    • lyip6
      Subscriber

      tsiriaks,


      Here is the environment variables from the working computer.


       


    • tsiriaks
      Ansys Employee

      ok, as you see here, there is no environment variables for Chemkin or Reaction set. There might be something wrong during the installation on that machine and somehow the environment variables that were set only in the install wrapper were passed to be permanently set on the machine. Maybe, it's best you uninstall (using the uninstall.exe with 'run as admin') , check if there is any remaining environment variables and delete them. Then, reinstall again with 'run as admin'

    • lyip6
      Subscriber

      tsiriaks,


      I reinstalled Ansys but it is still not working.  The environment variables is clean now.


       

    • tsiriaks
      Ansys Employee

      Hmm, Can you post the current environment variables on this machine ?


      Is there anything new in the install.err file ?

    • lyip6
      Subscriber

      tsiriaks,


       


      Here is the current environment variables after the reinstall.



       


      Here is the install.err log 


      >>>


      >


      ANSYS installation: Wed Jul 15 161:57 2020


      Revision: 2020 R1


       


         ###### Error #######


         Switch Unknown: Ignoring switch "-disablerss"


      >>>


      >


       

    • tsiriaks
      Ansys Employee

      Does it still show the same error message ? If so, what is the output of the following command


      dir /s "C:*ckjni.dll*"

    • lyip6
      Subscriber

      It is still not working.  Here is the results of the command.

    • tsiriaks
      Ansys Employee

      Hmm. This is fine.


      Can you post the screenshot of the error message again but make sure you expand the window so the entire error message can be seen ? Or if you can copy the text content of the error message and post it here, that would be good too.

    • lyip6
      Subscriber

      PROGRAM ERROR:  


       


      System Message:


      C:Program FilesANSYS Incv201reactionchemkinpro.win64binckjni.dll: The specified procedure could not be found


       


      Cannot find/load required library: ckjni


      Looked in C:Program FilesANSYS Incv201tpopenjre11.0.4bin


      C:WINDOWSSunJavabin


      C:WINDOWSsystem32


      C:WINDOWS


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin


      C:Program FilesNational InstrumentsSharedOpenVINO


      C:Program Files (x86)NVIDIA CorporationPhysXCommon


      C:WINDOWSsystem32


      C:WINDOWS


      C:WINDOWSSystem32Wbem


      C:WINDOWSSystem32WindowsPowerShellv1.0


      C:WINDOWSSystem32OpenSSH


      C:Program FilesZuluzulu-14bin


      C:Program FilesSafeNetAuthenticationSACx64


      C:Program FilesSafeNetAuthenticationSACx32


      C:Program Files (x86)Wolfram ResearchWolframScript


      C:Program FilesMATLABR2020aruntimewin64


      C:Program FilesMATLABR2020abin


      C:Program FilesMicrosoft SQL ServerClient SDKODBC110ToolsBinn


      C:Program Files (x86)Microsoft SQL Server120ToolsBinn


      C:Program FilesMicrosoft SQL Server120ToolsBinn


      C:Program FilesMicrosoft SQL Server120DTSBinn


      C:Program Files (x86)Windows Kits8.1Windows Performance Toolkit


      C:Program Files (x86)Common FilesAspenTech Shared


      C:Program FilesCommon FilesAspenTech Shared


      C:Program Files (x86)IVI FoundationVISAWinNTBin


      C:Program FilesIVI FoundationVISAWin64Bin


      C:Program Files (x86)National InstrumentsSharedLabVIEW CLI


      C:Program Files (x86)IVI FoundationVISAWinNTBin


      C:Program FilesPuTTY


      C:Program FilesTortoiseSVNbin


      C:Program Files (x86)Microsoft SQL Server80ToolsBinn


      c:Program Files (x86)Microsoft SQL Server100ToolsBinn


      c:Program Files (x86)Microsoft SQL Server100DTSBinn


      C:Program Files (x86)IVI FoundationIVIbin


      C:Program FilesIVI FoundationIVIbin


      C:UsersXXXAppDataLocalMicrosoftWindowsApps


       


      .

    • tsiriaks
      Ansys Employee

      I've asked around about this and there are some thoughts


      1. Chemkin is a java app ... Is Java installed on the computer and in the user's path? You can use the following command 


      set | findstr -i java


      and post the output of it here.


       


      2. Chemkin may be having trouble creating its environment, which could result in .dlls not being located. Please use the following command


      "C:Program FilesANSYS Incv201reactionchemkinpro.win64binrun_chemkinpro_env_setup.bat" > C:Tempchemkin_env.txt


      and post the content of C:Tempchemkin_env.txt 


       


       

    • lyip6
      Subscriber

      1) The Set | findstr -i java command doesn't return anything.


      2) here is the results from run_chemkinpro_env_setup.bat


       


       


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set REACTION_DIR=C:Program FilesANSYS Incv201reaction 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set CHEMKIN_BIN=C:Program FilesANSYS Incv201reactionchemkinpro.win64bin 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set CHEMKIN_VERS=20.1 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>call "C:Program FilesANSYS Incv201reactionchemkinpro.win64binrun_chemkinpro_env_setup_part2.bat" 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set RD_JRE_BIN=C:Program FilesANSYS Incv201reaction..tpopenjre11.0.4bin 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set relinfo_file=C:Program FilesANSYS Incv201reaction..commonfilesglobalsettingsrelinfo.xml 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>PUSHD C:Program FilesANSYS Incv201reactionchemkinpro.win64bin 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>FOR /F "tokens=*" %a in ('ReadRelinfoExt.BAT') do set extvers_file=%a 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set extvers_file=C:UsersJOHNUSERAppDataLocalTemprd_89973240_ext.tmp 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>FOR /F "tokens=*" %a in ('ReadRelinfoInt.BAT') do set intvers_file=%a 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set intvers_file=C:UsersJOHNUSERAppDataLocalTemprd_61847882_int.tmp 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>FOR /F "usebackq delims==" %g IN (`type "C:UsersJOHNUSERAppDataLocalTemprd_61847882_int.tmp"`) DO set CHEMKIN_INT_VERS=%g 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set CHEMKIN_INT_VERS=201 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>FOR /F "usebackq delims==" %g IN (`type "C:UsersJOHNUSERAppDataLocalTemprd_89973240_ext.tmp"`) DO set CHEMKIN_VERS=%g 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set CHEMKIN_VERS=2020 R1 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>DEL /Q C:UsersJOHNUSERAppDataLocalTemprd_61847882_int.tmp C:UsersJOHNUSERAppDataLocalTemprd_89973240_ext.tmp 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>POPD


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set BUILD_DATE_FILE=C:Program FilesANSYS Incv201reactionchemkinpro.win64build_date.txt 


      C:Program FilesANSYS Incv201reactionchemkinpro.win64bin>set CHEMKIN_TITLE=ANSYS Chemkin-Pro 


       

    • lyip6
      Subscriber

    • tsiriaks
      Ansys Employee

      The machine doesn't have Java installed. 


      Can you install Oracle Java and make sure your Path environment variable has this in there


      C:ProgramDataOracleJavajavapath


      Does this make a difference ?

    • lyip6
      Subscriber

      I installed oracle java it is still not working.  I see C:Programdataoraclejavajavapath in %Path% now, but it is still not working.


       

    • tsiriaks
      Ansys Employee

      Can you try moving this entry 


      C:Programdataoraclejavajavapath


      to be the first value of Path environment variable ?

    • lyip6
      Subscriber

      I moved it to the top.  still no good.

    • tsiriaks
      Ansys Employee
      I've consulted with developers. nHere are their comments and questionsnnThere can be incompatibility between some system dll on the machine and jni.dll in our install. nSome questions to ask the user are:n1) does the user have correct permissions to read/execute ckjni.dlln2) Is there a virus or malware software blocking execution?nnLet us know.n
    • lyip6
      Subscriber
      Hello tsiriaks,nIt has been awhile since I provided an update. I was trying to update this thread but your site was under maintenance so I couldn't update it. So I found out that this started after I installed Aspen 11. Then I reinstalled everything from scratch with Ansys 2019 R1 and Aspen 11. I didn't get the problem with Chemkin. At this point, we decided to keep using Ansys 2019 R1. nThank youn
    • tsiriaks
      Ansys Employee
      Hi lyip6,nThank you very much for the update. That's great find !nAspen 11 might have put some DLL's or files under Windows systems files directory, which inadvertently makes Chemkin use that same file and result in issue because it's not compatible.nIn any case, I'm glad it's working with 2019 R1. I will report back to developers in case they can check Aspen to see what causes the issue.nThank you.n
    • braddonegan
      Subscriber
      Hi Array ,nThank you for this post as it helped us troubleshoot this issue. We have a setup which requires both ANSYS 2020 R1 and Aspen Plus 11 to be installed.nRemoving or renaming the specific DLL, C:\Windows\System32\svml_dispmd.dll, fixed this problem for us. This DLL is not needed in how we use Aspen Plus.nWe had a similar problem with Fluent several months ago and had to use a similar fix but with a different DLL.nProbably not possible, but it would be great to have an option that tells the ANSYS apps to ignore external libraries.nThanks!n
Viewing 35 reply threads
  • The topic ‘Chemkin start error unable to find ckjni.dll’ is closed to new replies.