diff --git a/cudnn_instructions.js b/cudnn_instructions.js new file mode 100644 index 0000000..750ee30 --- /dev/null +++ b/cudnn_instructions.js @@ -0,0 +1,14 @@ +console.log("cuDNN is not installed. Please follow these steps to download and install cuDNN 8.9.7 manually:"); +console.log("1. Go to the NVIDIA cuDNN download page: https://developer.nvidia.com/rdp/cudnn-download"); +console.log("2. Log in with your NVIDIA Developer account."); +console.log("3. Download the file 'cudnn-windows-x86_64-8.9.7.29_cuda11-archive.zip'."); +console.log("4. Extract the contents of the downloaded zip file."); +console.log("5. Copy the following files to the CUDA installation directory:"); +console.log(" - Copy 'cudnn64_8.dll' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin'"); +console.log(" - Copy 'cudnn.h' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\include'"); +console.log(" - Copy 'cudnn.lib' to 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\lib\\x64'"); +console.log("6. Press any key to continue once you have moved and unzipped the folder."); +console.log("Note: If you encounter issues, you might need to manually add the following paths to your system PATH:"); +console.log(" - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin'"); +console.log(" - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\libnvvp'"); +console.log(" - 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\lib'"); \ No newline at end of file diff --git a/nodejs-instructions.ps1 b/nodejs-instructions.ps1 new file mode 100644 index 0000000..ae827ca --- /dev/null +++ b/nodejs-instructions.ps1 @@ -0,0 +1,27 @@ +# Instructions for installing Node.js + +Write-Host "Please follow these steps to install Node.js:" + +# Step 1: Download Node.js +Write-Host "1. Go to the Node.js download page: https://nodejs.org/" +Write-Host "2. Download the LTS (Long Term Support) version for Windows." + +# Step 2: Install Node.js +Write-Host "3. Run the downloaded installer." +Write-Host "4. Follow the installation prompts and accept the default settings." + +# Step 3: Verify the installation +Write-Host "5. Open a new PowerShell window." +Write-Host "6. Verify the installation by running the following commands:" +Write-Host " - node -v" +Write-Host " - npm -v" +Write-Host " You should see the version numbers for Node.js and npm (Node Package Manager)." + +# Step 4: Run your JavaScript file +Write-Host "7. Navigate to the directory where your JavaScript file is located using the 'cd' command." +Write-Host "8. Run your JavaScript file using Node.js by typing:" +Write-Host " node your_script_name.js" +Write-Host " Replace 'your_script_name.js' with the name of your JavaScript file." + +# Pause to allow the user to read the instructions +Pause \ No newline at end of file